Add strict transport security header for nextcloud

This commit is contained in:
M. Rehan
2022-04-11 14:10:55 +05:00
parent 2e546e8b4e
commit 6da63d897b
54 changed files with 6 additions and 2 deletions

View File

@@ -19,4 +19,4 @@ sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
upstream_version: 2.3.2
version: 1.4.1
version: 1.5.0

View File

@@ -26,6 +26,8 @@ data:
# maximum 3GB Upload File; change to fit your needs
client_max_body_size 3G;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains; preload" always;
location = /robots.txt {
allow all;
log_not_found off;

View File

@@ -19,4 +19,4 @@ sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
upstream_version: 2.3.2
version: 1.4.1
version: 1.5.0

View File

@@ -26,6 +26,8 @@ data:
# maximum 3GB Upload File; change to fit your needs
client_max_body_size 3G;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains; preload" always;
location = /robots.txt {
allow all;
log_not_found off;