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:
parent
347f69e9d6
commit
d4cf6ea5a5
1 changed files with 19 additions and 6 deletions
|
@ -4,9 +4,9 @@ server {
|
||||||
|
|
||||||
server_name files.l3d.ch;
|
server_name files.l3d.ch;
|
||||||
|
|
||||||
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
|
include snippets/tls_parameters_files.l3d.ch.snippet.conf;
|
||||||
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
|
include snippets/tls_certificate_files.l3d.ch.snippet.conf;
|
||||||
include snippets/logging_{{ site.name }}.snippet.conf;
|
include snippets/logging_files.l3d.ch.snippet.conf;
|
||||||
|
|
||||||
root /srv/www/files.l3d.ch;
|
root /srv/www/files.l3d.ch;
|
||||||
|
|
||||||
|
@ -19,6 +19,8 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /share/ {
|
location /share/ {
|
||||||
|
add_before_body /theme/header.html;
|
||||||
|
add_after_body /theme/footer.html;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
autoindex_exact_size off;
|
autoindex_exact_size off;
|
||||||
autoindex_localtime on;
|
autoindex_localtime on;
|
||||||
|
@ -26,19 +28,30 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location /fff/ {
|
location /fff/ {
|
||||||
|
add_before_body /theme/header.html;
|
||||||
|
add_after_body /theme/footer.html;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
autoindex_exact_size off;
|
autoindex_exact_size off;
|
||||||
autoindex_localtime on;
|
autoindex_localtime on;
|
||||||
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location = /hidden/ {
|
location /hidden/ {
|
||||||
autoindex off;
|
autoindex off;
|
||||||
add_header X-Served-By "teapot CYBER 4.0 (with blockchain)";
|
add_header X-Served-By "I am a teapod";
|
||||||
return 418;
|
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+]+/ {
|
location ~ /hidden/[\S+]+/ {
|
||||||
|
add_before_body /theme/header.html;
|
||||||
|
add_after_body /theme/footer.html;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
autoindex_exact_size off;
|
autoindex_exact_size off;
|
||||||
autoindex_localtime on;
|
autoindex_localtime on;
|
||||||
|
|
Loading…
Reference in a new issue