Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx proxy returns blank page #1427

Open
julianoBRL opened this issue Dec 18, 2024 · 0 comments
Open

Nginx proxy returns blank page #1427

julianoBRL opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working triage

Comments

@julianoBRL
Copy link

Describe the bug

I'm using a nginx as a reverse proxy for my applications and when tring to route it-tools the favcon returns fine que the page is totaly blank.

What happened?

I'm using a nginx as a reverse proxy for my applications and when tring to route it-tools the favcon returns fine que the page is totaly blank.

System information

it-tools logs:
172.18.0.4 - - [18/Dec/2024:14:54:32 +0000] "GET / HTTP/1.1" 200 2787 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" ""

172.18.0.4 - - [18/Dec/2024:14:54:33 +0000] "GET /favicon.ico HTTP/1.1" 200 15086 "http:///ittools/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36" ""

nginx location config:
listen 80;
listen [::]:80;
location /ittools/ {
proxy_pass http://ittools:80/;
proxy_http_version 1.1;
proxy_set_header Host $host; # Forwarded host
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
}

docker network config:
name: proxy network {gateway: 172.35.0.1}
nginx: 172.35.0.3
ittools: 172.35.0.4

tried curl on the nginx container and it can see http://itools:80 fine. (also returns body empty)

requesting on /ittools
return:
image

Where did you encounter the bug?

A self hosted

@julianoBRL julianoBRL added bug Something isn't working triage labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants