mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
49 lines
913 B
Text
49 lines
913 B
Text
# Any provided static files
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
|
|
# Nextcloud News protocol
|
|
location /index.php/apps/news/api {
|
|
try_files $uri @arsse;
|
|
|
|
location ~ ^/index\.php/apps/news/api/?$ {
|
|
try_files $uri @arsse_public;
|
|
}
|
|
}
|
|
|
|
# Tiny Tiny RSS protocol
|
|
location /tt-rss/api {
|
|
try_files $uri @arsse;
|
|
}
|
|
|
|
# Tiny Tiny RSS feed icons
|
|
location /tt-rss/feed-icons/ {
|
|
try_files $uri @arsse;
|
|
}
|
|
|
|
# Tiny Tiny RSS special-feed icons; these are static files
|
|
location /tt-rss/images/ {
|
|
try_files $uri =404;
|
|
}
|
|
|
|
# Fever protocol
|
|
location /fever/ {
|
|
try_files $uri @arsse;
|
|
}
|
|
|
|
# Miniflux protocol
|
|
location /v1/ {
|
|
# If put behind HTTP authentication token login will not be possible
|
|
try_files $uri @arsse;
|
|
}
|
|
|
|
# Miniflux version number
|
|
location /version {
|
|
try_files $uri @arsse_public;
|
|
}
|
|
|
|
# Miniflux "health check"
|
|
location /healthcheck {
|
|
try_files $uri @arsse_public;
|
|
}
|