18 lines
351 B
Nginx Configuration File
18 lines
351 B
Nginx Configuration File
server {
|
|
|
|
listen 80; ## listen for ipv4
|
|
listen [::]:80 default ipv6only=on; ## listen for ipv6
|
|
|
|
server_name localhost;
|
|
|
|
access_log /var/log/nginx/localhost.access.log;
|
|
|
|
location / {
|
|
root /var/www;
|
|
index index.html index.htm;
|
|
autoindex on;
|
|
}
|
|
|
|
}
|
|
|