Hi,
I need some help setting up the Calibre Content Server behind SWAG and making it accessible to apps like MoonReader+/Librera/CalibreSync. So far I have Calibre running as a subdomain, i.e. https://calibre.myserver.duckdns.org, protected by Authelia, which works like intended. What I would like is to start the content server and use it via https://calibre.myserver.duckdns.org/content-server without exposing port 8081.
I tried adding this to the calibre.subdomain.conf
file, but got nowhere:
location ~ (/calibre)?/content-server {
# enable for Authelia
#include /config/nginx/authelia-location.conf;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app calibre;
set $upstream_port 8081;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_buffering off;
}
If I could get this to work I would then try to use some reader app to connect to the content server, but first things first.
Thank you!