mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-24 07:05:38 -07:00
enable http strict transport security
https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html#enable-http-strict-transport-security
This commit is contained in:
parent
47e0494f49
commit
349aeff91c
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
# 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it.
|
||||
# 1 => 'nextcloud.your-domain.com',
|
||||
# ),
|
||||
|
||||
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains; preload";
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue