1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00

Fix sample Nginx configuration

This commit is contained in:
J. King 2020-10-26 12:57:16 -04:00
parent 2e0ed5e923
commit 9b11001402
5 changed files with 20 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Version 0.8.5 (2020-??-??)
==========================
Bug fixes:
- Added the QUERY_STRING FastCGI paramater to the sample Nginx configuration
Version 0.8.4 (2020-09-09) Version 0.8.4 (2020-09-09)
========================== ==========================

View file

@ -11,6 +11,17 @@ usually prudent:
`composer install -o --no-dev` `composer install -o --no-dev`
Upgrading from 0.8.4 to 0.8.5
=============================
- The sample configuration for Nginx has changed, to correct the omission of
the QUERY_STRING FastCGI parameter in those passed to PHP. The omission
affects the Fever protocol in particular (the parameter is required for
Fever to function at all), though it could potentially affect some
Nextcloud News clients as well.
- No significant code changes have been made in this version
Upgrading from 0.8.2 to 0.8.3 Upgrading from 0.8.2 to 0.8.3
============================= =============================

1
dist/nginx.conf vendored
View file

@ -19,6 +19,7 @@ server {
fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param REQUEST_URI $uri; fastcgi_param REQUEST_URI $uri;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param HTTPS $https if_not_empty; fastcgi_param HTTPS $https if_not_empty;
fastcgi_param REMOTE_USER $remote_user; fastcgi_param REMOTE_USER $remote_user;
} }

View file

@ -30,6 +30,7 @@ server {
fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param REQUEST_URI $uri; fastcgi_param REQUEST_URI $uri;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param HTTPS $https if_not_empty; fastcgi_param HTTPS $https if_not_empty;
fastcgi_param REMOTE_USER $remote_user; fastcgi_param REMOTE_USER $remote_user;
} }

View file

@ -7,7 +7,7 @@ declare(strict_types=1);
namespace JKingWeb\Arsse; namespace JKingWeb\Arsse;
class Arsse { class Arsse {
public const VERSION = "0.8.4"; public const VERSION = "0.8.5";
/** @var Lang */ /** @var Lang */
public static $lang; public static $lang;