nginx proxy_pass Docker Issue Resolved
TLDR Romario experienced a 502 bad gateway with nginx proxy_pass and docker-compose, but resolved the issue when realizing docker-compose was down.
Powered by Struct AI
4
8mo
Apr 11, 2023 (8 months ago)
Romario
Romario
11:57 PMHello, I’m configuring nginx but using proxy_pass to the docker-compose front-end returns 502 bad gateway. How can I debug it?
I’m doing http -> redirects to https
# Root domain points to port 3301
location / {
proxy_pass ;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
}
I’m doing http -> redirects to https
Apr 12, 2023 (8 months ago)
Romario
Romario
12:05 AMI also tried upstream config but it didn’t work
12:27
Romario
12:27 AMoh lol, it worked
12:27
Romario
12:27 AMThe docker-compose was down haha
SigNoz Community
Built with ClickHouse as datastore, SigNoz is an open-source APM to help you find issues in your deployed applications & solve them quickly | Knowledge Base powered by Struct.AI
Indexed 1023 threads (61% resolved)
Similar Threads
Changing Front-end Port for Cloudflare DNS with Subdomain
Romario asked about changing the front-end port to work with a subdomain and Cloudflare DNS. Prashant suggested using Nginx ingress controller and cert-manager, but Romario decided to use Nginx and Certbot with Docker Compose.
7
8mo
Adding SSL to FrontEnd Viewer in Docker Standalone Install
Mr. Gary C. found a solution for adding SSL to a frontend viewer in a Docker standalone install - reverse proxy via apache or nginx.
2
2w
Log Monitoring Connection Error in Signoz
Utkarsh encountered a connection error while adding log monitoring using Signoz. nitya-signoz identified the incorrect otlp exporter port and suggested using 4317.
8
9mo