diff options
| -rw-r--r-- | nextcloud.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nextcloud.html b/nextcloud.html index 259c361..b412650 100644 --- a/nextcloud.html +++ b/nextcloud.html @@ -90,8 +90,6 @@ server { gzip_proxied expired no-cache no-store private no_last_modified no_etag auth; gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy; - pagespeed off; - add_header Referrer-Policy "no-referrer" always; add_header X-Content-Type-Options "nosniff" always; add_header X-Download-Options "noopen" always; @@ -126,7 +124,11 @@ server { fastcgi_param modHeadersAvailable true; fastcgi_param front_controller_active true; - fastcgi_pass php-handler; + + # PHP-FPM with Unix socket (seems to work better) + fastcgi_pass unix:/run/php/php7.4-fpm.sock; + # PHP-FPM with Local server + #fastcgi_pass 127.0.0.1:9000 fastcgi_intercept_errors on; fastcgi_request_buffering off; |
