Nginx:Virtual Host Sederhana: Difference between revisions
No edit summary |
|||
| Line 1: | Line 1: | ||
<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 == | == Terkait == | ||