diff --git a/compose.yaml b/compose.yaml index d576ef1..2d9218c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -138,7 +138,7 @@ volumes: configs: nginx_conf: - name: ${STACK_NAME}_nginx + name: ${STACK_NAME}_nginx_v2 file: nginx.conf.tmpl template_driver: golang fpm_tune: diff --git a/nginx.conf.tmpl b/nginx.conf.tmpl index d585a3b..afc42f5 100644 --- a/nginx.conf.tmpl +++ b/nginx.conf.tmpl @@ -42,7 +42,7 @@ http { # will add the domain to a hardcoded list that is shipped # in all major browsers and getting removed from this list # could take several months. - #add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;" always; + add_header Strict-Transport-Security "max-age=15768000; includeSubDomains;" always; # set max upload size