Merge pull request #413 from truenas/NAS-115306

NAS-115306 / 22.12 / Add strict transport security header for nextcloud
This commit is contained in:
M. Rehan
2022-04-11 20:00:20 +05:00
committed by GitHub
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;