Reverse Proxy with SWAG?
See original GitHub issue❓ Question
Does anyone know how to setup a subdomain RP with the Linuxserver SWAG container?
I tried creating one:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name apprise.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app apprise;
set $upstream_port 8000;
set $upstream_proto https;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
But when i set $upstream_proto
to http
i get a Contradictory scheme headers
error when visiting the URL, and when I set $upstream_proto
to https
I get a plain old 502 Bad Gateway
error.
Not sure where to go from here?
Issue Analytics
- State:
- Created a year ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
SWAG setup - LinuxServer.io
A reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or more servers. These...
Read more >linuxserver/docker-swag - GitHub
SWAG - Secure Web Application Gateway (formerly known as letsencrypt, no relation to Let's Encrypt™) sets up an Nginx webserver and reverse proxy...
Read more >SWAG - Integration - Authelia
SWAG is a reverse proxy supported by Authelia. It's an NGINX proxy container with bundled configurations to make your life easier.
Read more >SWAG - DockSTARTer
SWAG (Secure Web-server And Gateway) sets up an NGINX webserver and reverse proxy with PHP support and a built-in swag client that automates...
Read more >SWAG Reverse Proxy, handling multiple domains across ...
At its core, SWAG is simply an Nginx reverse proxy that is paired with LetsEncrypt and Fail2Ban, packaged into a neat little Docker...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@YouveGotMeowxy This line is the perp: https://github.com/caronc/apprise-api/blob/fea552f7db20362b6f329043455587ea27cbe323/apprise_api/etc/nginx.conf#L52
Comment it out (or delete it) and then mount that file in your docker compose and restart the apprise container:
i.e.
Perfect, I’m going to close this ticket!🚀