Skip to content

Commit 8dfc2fe

Browse files
authored
Enable Strict-Transport-Security header
1 parent 7f5b300 commit 8dfc2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.docker/web/nextcloud.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ server {
3737
# will add the domain to a hardcoded list that is shipped
3838
# in all major browsers and getting removed from this list
3939
# could take several months.
40-
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" always;
40+
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" always;
4141

4242
# set max upload size and increase upload timeout:
4343
client_max_body_size 20G;

0 commit comments

Comments
 (0)