mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-06-24 19:25:32 +02:00
Activated Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always for Nextcloud
This commit is contained in:
parent
716c1c40e9
commit
68287c3c66
@ -49,7 +49,7 @@ http {
|
||||
# will add the domain to a hardcoded list that is shipped
|
||||
# in all major browsers and getting removed from this list
|
||||
# could take several months.
|
||||
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
|
||||
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always;
|
||||
|
||||
# set max upload size
|
||||
client_max_body_size 512M;
|
||||
|
@ -12,9 +12,9 @@ server
|
||||
location /
|
||||
{
|
||||
alias {{nginx.directories.data.files}}; {# Path to your file directory #}
|
||||
autoindex on; {# Enable directory listing #}
|
||||
autoindex_exact_size off; {# Display sizes in a human-readable format #}
|
||||
autoindex_localtime on; {# Show local time #}
|
||||
autoindex on; {# Enable directory listing #}
|
||||
autoindex_exact_size off; {# Display sizes in a human-readable format #}
|
||||
autoindex_localtime on; {# Show local time #}
|
||||
}
|
||||
|
||||
location /.well-known/ {
|
||||
|
Loading…
x
Reference in New Issue
Block a user