File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff 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
9372server {
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}
You can’t perform that action at this time.
0 commit comments