Jump to content

Nginx:Virtual Host Sederhana

From Wiki
Revision as of 06:58, 29 August 2022 by Kangtain (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<syntaxhighlight lang="nginx" line="1"> server {

   listen 80;
   server_name example.com www.example.com;
   root /var/www/example.com/public_html;
   index index.html;
   access_log /var/log/nginx/example.com.access.log;
   error_log /var/log/nginx/example.com.error.log;

} </syntaxhighlight>

Terkait

Source