Browse Source
Merge pull request #402 from smart4life/fix_ynh_script_injection
Disable HTTP encoding between nextcloud and nginx
pull/411/head
Kayou
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
conf/nginx.conf
|
|
|
@ -107,6 +107,7 @@ location ^~ __PATH__/ { |
|
|
|
fastcgi_param HTTPS on; |
|
|
|
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice |
|
|
|
fastcgi_param front_controller_active true; # Enable pretty urls |
|
|
|
fastcgi_param HTTP_ACCEPT_ENCODING ""; # Disable encoding of nextcloud response to inject ynh scripts |
|
|
|
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; |
|
|
|
fastcgi_intercept_errors on; |
|
|
|
fastcgi_request_buffering off; |
|
|
|
|