mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
minnimal change...
This commit is contained in:
parent
2e2d8f3353
commit
606667cc27
1 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue