mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-04-19 12:09:21 +00:00
added links to owncloud documentation
This commit is contained in:
parent
1cfe4e5aee
commit
06d65f7fe8
@ -3,8 +3,10 @@ server {
|
|||||||
root /nextcloud;
|
root /nextcloud;
|
||||||
|
|
||||||
fastcgi_buffers 64 4K;
|
fastcgi_buffers 64 4K;
|
||||||
|
|
||||||
|
# https://docs.nextcloud.com/server/14/admin_manual/configuration_server/harden_server.html?highlight=security#enable-http-strict-transport-security
|
||||||
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload";
|
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload";
|
||||||
|
# https://docs.nextcloud.com/server/14/admin_manual/configuration_server/harden_server.html?highlight=security#serve-security-related-headers-by-the-web-server
|
||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
add_header X-Robots-Tag none;
|
add_header X-Robots-Tag none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user