diff --git a/templates/files/nginx/sites/files.l3d.ch_tls.conf b/templates/files/nginx/sites/files.l3d.ch_tls.conf index 3fa321a..4c92378 100644 --- a/templates/files/nginx/sites/files.l3d.ch_tls.conf +++ b/templates/files/nginx/sites/files.l3d.ch_tls.conf @@ -14,8 +14,8 @@ server { location / { autoindex off; - add_header X-Served-By "teapot CYBER 4.0 (with blockchain)"; - try_files $uri $uri/ =418; + add_header X-Served-By "Hello World"; + try_files $uri $uri/ =404; } location /share/ { @@ -24,7 +24,7 @@ server { autoindex on; autoindex_exact_size off; autoindex_localtime on; - add_header X-Served-By "teapot CYBER 4.0 (with blockchain)"; + try_files $uri $uri/ =404; } location /fff/ { @@ -33,12 +33,13 @@ server { autoindex on; autoindex_exact_size off; autoindex_localtime on; + try_files $uri $uri/ =404; } location /hidden/ { autoindex off; add_header X-Served-By "I am a teapod"; - return 418; + try_files $uri $uri/ =418; } location /thw/ { @@ -47,6 +48,7 @@ server { autoindex on; autoindex_exact_size off; autoindex_localtime on; + try_files $uri $uri/ =404; } location ~ /hidden/[\S+]+/ { @@ -56,5 +58,6 @@ server { autoindex_exact_size off; autoindex_localtime on; add_header X-Served-By "teapot CYBER 4.0 (with blockchain)"; + try_files $uri $uri/ =418; } }