it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

Nginx proxy returns blank page

Open julianoBRL opened this issue 1 year ago • 1 comments

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 avatar Dec 18 '24 15:12 julianoBRL

Hi, may be related to https://github.com/CorentinTh/it-tools/issues/823

sharevb avatar Jan 01 '25 16:01 sharevb

Hi @julianoBRL , if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)

sharevb avatar Nov 01 '25 17:11 sharevb