Closed xoxfaby closed 10 months ago
What reverse proxy and what's your configuration for it?
NGINX
server {
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
server_name wishlist.domain.com;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://ip:port;
}
}
and in my docker compose
environment:
TRUST_PROXY: proxy_ip
Try putting a / after the port in the nginx config.
That fixed it, thank you
Glad I could help!
When I connect directly, it works fine, but if I connect through the reverse proxy, after logging in, I still appear logged out but pressing "Log in" just reloads the page and does nothing else.