Skip to content

Commit d37cc10

Browse files
committed
Update nginx.conf.template
1 parent d6a0195 commit d37cc10

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

webserver/templates/nginx.conf.template

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -63,36 +63,14 @@ server {
6363
#
6464
# Mitigate httpoxy attack
6565
proxy_set_header Proxy "";
66-
}
67-
#
68-
# deny access to .htaccess vb. files, if Apache's document root
69-
location ~/\. {
70-
deny all;
71-
log_not_found off;
72-
}
73-
#
74-
location ~ /.well-known {
75-
allow all;
76-
}
77-
#
78-
location = /favicon.ico {
79-
log_not_found off;
80-
access_log off;
81-
}
82-
#
83-
location = /robots.txt {
84-
allow all;
85-
log_not_found off;
86-
access_log off;
8766
}
8867
#
8968
access_log off;
9069
error_log /var/log/nginx/${NGINX_HOST}-443.error.log error;
9170
}
9271

9372
server {
94-
#listen 81;
95-
#listen [::]:81 ipv6only=on;
73+
#listen 90;
9674
#
9775
server_name ${NGINX_HOST} www.${NGINX_HOST};
9876
#
@@ -114,5 +92,5 @@ server {
11492
}
11593
#
11694
access_log off;
117-
error_log /var/log/nginx/${NGINX_HOST}-81.error.log error;
95+
error_log /var/log/nginx/${NGINX_HOST}-90.error.log error;
11896
}

0 commit comments

Comments
 (0)