diff --git a/docker-compose.yml b/docker-compose.yml index 1cb5ea8..b720001 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,6 +38,15 @@ services: ports: - "667:80" + rss-bridge: + image: rssbridge/rss-bridge + container_name: rss-bridge + restart: unless-stopped + volumes: + - ./rss-bridge/whitelist.txt:/app/whitelist.txt + ports: + - 3000:80 + calibre: image: linuxserver/calibre container_name: calibre diff --git a/letsencrypt/nginx/proxy-confs/rss-bridge.subdomain.conf b/letsencrypt/nginx/proxy-confs/rss-bridge.subdomain.conf new file mode 100644 index 0000000..35e974b --- /dev/null +++ b/letsencrypt/nginx/proxy-confs/rss-bridge.subdomain.conf @@ -0,0 +1,33 @@ +# make sure that your dns has a cname set for rss-bridge and that your rss-bridge container is not using a base url + +server { + listen 443 ssl; + listen [::]:443 ssl; + + server_name rss-bridge.*; + + include /config/nginx/ssl.conf; + + client_max_body_size 0; + + # enable for ldap auth, fill in ldap details in ldap.conf + #include /config/nginx/ldap.conf; + + location / { + # enable the next two lines for http auth + #auth_basic "Restricted"; + #auth_basic_user_file /config/nginx/.htpasswd; + + # enable the next two lines for ldap auth + #auth_request /auth; + #error_page 401 =200 /login; + + include /config/nginx/proxy.conf; + resolver 127.0.0.11 valid=30s; + set $upstream_app rss-bridge; + set $upstream_port 80; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } +} diff --git a/rss-bridge/whitelist.txt b/rss-bridge/whitelist.txt new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/rss-bridge/whitelist.txt @@ -0,0 +1 @@ +*