18 lines
343 B
Plaintext
18 lines
343 B
Plaintext
|
server {
|
||
|
listen 80 default_server;
|
||
|
#listen [::]:80 default_server ipv6only=on;
|
||
|
|
||
|
root /nexus/;
|
||
|
|
||
|
index index.html index.htm;
|
||
|
server_name localhost;
|
||
|
|
||
|
#auth_basic "Restricted";
|
||
|
#auth_basic_user_file /etc/nginx/htpasswd;
|
||
|
|
||
|
location / {
|
||
|
autoindex on;
|
||
|
try_files $uri $uri/ =404;
|
||
|
}
|
||
|
}
|