From ee3b6e09b00111fc781cc53ee07fcb52a6af7048 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 26 May 2023 20:20:58 -0600 Subject: [PATCH 1/2] Update nginx config --- contrib/nginx.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/contrib/nginx.conf b/contrib/nginx.conf index 6d6fd15f8..abd6a26ab 100644 --- a/contrib/nginx.conf +++ b/contrib/nginx.conf @@ -15,7 +15,7 @@ server { add_header X-XSS-Protection "1; mode=block"; add_header X-Content-Type-Options "nosniff"; - index index.html index.htm index.php; + index index.php; charset utf-8; client_max_body_size 15M; @@ -31,11 +31,9 @@ server { location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; - try_files $fastcgi_script_name =404; - fastcgi_pass unix:/run/php-fpm/php-fpm.sock; # make sure this is correct + fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_index index.php; include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # or $request_filename } location ~ /\.(?!well-known).* { From 100a4771f82c99c29391adef825dea0af43032f5 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 26 May 2023 20:22:31 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad6171922..ecd60dd5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Update StatusRemoteUpdatePipeline, fix typo ([109d0419](https://github.com/pixelfed/pixelfed/commit/109d0419)) - Update StatusActivityPubDeliver, fix delivery addressing ([1f2183ee](https://github.com/pixelfed/pixelfed/commit/1f2183ee)) - Update UpdateStatusService, fix formatting issue. Fixes #4423 ([4479055e](https://github.com/pixelfed/pixelfed/commit/4479055e)) +- Update nginx config ([ee3b6e09](https://github.com/pixelfed/pixelfed/commit/ee3b6e09)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.7 (2023-05-24)](https://github.com/pixelfed/pixelfed/compare/v0.11.6...v0.11.7)