Remove location block from listing.conf
This commit is contained in:
parent
4c41b64426
commit
54120314b8
6 changed files with 27 additions and 26 deletions
4
roles/nginx/files/etc/nginx/include/headers_hsts.conf
Normal file
4
roles/nginx/files/etc/nginx/include/headers_hsts.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Header bitte nur auf "location" Ebene inkludieren:
|
||||
# https://nginx.org/en/docs/http/ngx_http_headers_module.html#add_header
|
||||
|
||||
add_header Strict-Transport-Security max-age=31536000;
|
|
@ -1,5 +1,3 @@
|
|||
location / {
|
||||
autoindex on;
|
||||
autoindex_exact_size on;
|
||||
autoindex_localtime off;
|
||||
}
|
||||
autoindex on;
|
||||
autoindex_exact_size on;
|
||||
autoindex_localtime off;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue