mirror of
https://github.com/truenas/charts.git
synced 2026-04-04 03:08:33 +08:00
Add strict transport security header for nextcloud
This commit is contained in:
@@ -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
|
||||
@@ -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;
|
||||
@@ -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
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user