mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-06-25 03:38:59 +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
|
# will add the domain to a hardcoded list that is shipped
|
||||||
# in all major browsers and getting removed from this list
|
# in all major browsers and getting removed from this list
|
||||||
# could take several months.
|
# 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
|
# set max upload size
|
||||||
client_max_body_size 512M;
|
client_max_body_size 512M;
|
||||||
|
@ -12,9 +12,9 @@ server
|
|||||||
location /
|
location /
|
||||||
{
|
{
|
||||||
alias {{nginx.directories.data.files}}; {# Path to your file directory #}
|
alias {{nginx.directories.data.files}}; {# Path to your file directory #}
|
||||||
autoindex on; {# Enable directory listing #}
|
autoindex on; {# Enable directory listing #}
|
||||||
autoindex_exact_size off; {# Display sizes in a human-readable format #}
|
autoindex_exact_size off; {# Display sizes in a human-readable format #}
|
||||||
autoindex_localtime on; {# Show local time #}
|
autoindex_localtime on; {# Show local time #}
|
||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known/ {
|
location /.well-known/ {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user