From f2e5d567ecb06b31dc86a2c18a0bdd3145551e25 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Sun, 7 Feb 2021 21:38:16 -0500 Subject: [PATCH] Update sample Web server configuration --- dist/apache.conf | 8 ++++---- dist/nginx.conf | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/dist/apache.conf b/dist/apache.conf index 3c27b5a..c012296 100644 --- a/dist/apache.conf +++ b/dist/apache.conf @@ -10,13 +10,13 @@ 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" diff --git a/dist/nginx.conf b/dist/nginx.conf index c9c7845..c12ff21 100644 --- a/dist/nginx.conf +++ b/dist/nginx.conf @@ -55,4 +55,21 @@ 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; + } }