updated nginx state

This commit is contained in:
Paul 2023-02-04 19:53:17 +01:00
parent ad98d3c6d2
commit 639c84332e
5 changed files with 10 additions and 6 deletions

View File

@ -75,7 +75,11 @@ http {
set_real_ip_from 127.0.0.1;
set_real_ip_from ::1;
location /status {
location = / {
return 404;
}
location = /status {
stub_status on;
access_log off;
allow 127.0.0.1;

View File

@ -28,7 +28,7 @@ server {
autoindex on;
autoindex_localtime on;
{%- else %}
index index.html index.rss;
index index.html;
{% endif %}
}

View File

@ -33,7 +33,7 @@ server {
autoindex on;
autoindex_localtime on;
{%- else %}
index index.html index.rss;
index index.html;
{% endif %}
}

View File

@ -35,7 +35,7 @@ server {
autoindex on;
autoindex_localtime on;
{%- else %}
index index.html index.rss;
index index.html;
{% endif %}
{%- if auth %}
auth_basic "Restricted area";

View File

@ -30,7 +30,7 @@ server {
autoindex on;
autoindex_localtime on;
{%- else %}
index index.html index.rss;
index index.html;
{% endif %}
{%- if auth %}
auth_basic "Restricted area";