Add `large_client_header_buffers 4 16k` to `nginx.conf`. For example, allows bigger cookies to be sent through chrome browser.
This commit is contained in:
Gagan Daroach 2019-04-04 20:56:31 -05:00 committed by GitHub
parent 4385fd73eb
commit fbdb7196a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ server {
root /nextcloud; root /nextcloud;
fastcgi_buffers 64 4K; fastcgi_buffers 64 4K;
large_client_header_buffers 4 16k;
# https://docs.nextcloud.com/server/14/admin_manual/configuration_server/harden_server.html?highlight=security#enable-http-strict-transport-security # 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";