From abc291460ce85816f8263638db2da241fe70ad7f Mon Sep 17 00:00:00 2001 From: "J. King" Date: Thu, 18 Mar 2021 09:54:03 -0400 Subject: [PATCH] Update Web server configuration in manual --- .../030_Web_Server_Configuration.md | 25 ++++++++++++++++--- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/docs/en/020_Getting_Started/030_Web_Server_Configuration.md b/docs/en/020_Getting_Started/030_Web_Server_Configuration.md index 679b039..8f0371e 100644 --- a/docs/en/020_Getting_Started/030_Web_Server_Configuration.md +++ b/docs/en/020_Getting_Started/030_Web_Server_Configuration.md @@ -66,6 +66,23 @@ server { # this path should not be behind HTTP authentication try_files $uri @arsse; } + + # Miniflux protocol + location /v1/ { + try_files $uri @arsse; + } + + # Miniflux version number + location /version { + # this path should not be behind HTTP authentication + try_files $uri @arsse; + } + + # Miniflux "health check" + location /healthcheck { + # this path should not be behind HTTP authentication + try_files $uri @arsse; + } } ``` @@ -93,13 +110,13 @@ Afterward the follow virtual host configuration should work, after modifying pat ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "/usr/share/arsse/arsse.php" ProxyPreserveHost On - # Nextcloud News v1.2, Tiny Tiny RSS API, TT-RSS newsfeed icons - + # Nextcloud News v1.2, Tiny Tiny RSS API, TT-RSS newsfeed icons, Miniflux API + ProxyPass "unix:/var/run/php/php7.2-fpm.sock|fcgi://localhost/usr/share/arsse" - # Nextcloud News API detection, Fever API - + # Nextcloud News API detection, Fever API, Miniflux miscellanies + # these locations should not be behind HTTP authentication ProxyPass "unix:/var/run/php/php7.2-fpm.sock|fcgi://localhost/usr/share/arsse"