1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

update files.l3d.ch

This commit is contained in:
L3D 2022-07-07 22:15:06 +02:00
parent 347f69e9d6
commit d4cf6ea5a5
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -4,9 +4,9 @@ server {
server_name files.l3d.ch;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
include snippets/tls_parameters_files.l3d.ch.snippet.conf;
include snippets/tls_certificate_files.l3d.ch.snippet.conf;
include snippets/logging_files.l3d.ch.snippet.conf;
root /srv/www/files.l3d.ch;
@ -19,6 +19,8 @@ server {
}
location /share/ {
add_before_body /theme/header.html;
add_after_body /theme/footer.html;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
@ -26,19 +28,30 @@ server {
}
location /fff/ {
add_before_body /theme/header.html;
add_after_body /theme/footer.html;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
}
location = /hidden/ {
location /hidden/ {
autoindex off;
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
add_header X-Served-By "I am a teapod";
return 418;
}
location /thw/ {
add_before_body /theme/header.html;
add_after_body /theme/footer.html;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
location ~ /hidden/[\S+]+/ {
add_before_body /theme/header.html;
add_after_body /theme/footer.html;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;