Localhost in URL behind nginx proxy #20

Closed
opened 2025-09-01 12:58:33 +02:00 by jriou · 1 comment
Owner

When nginx is used as a proxy pass, the create URL shows localhost:8080 or 127.0.0.1:8080 (configuration of proxy_pass) instead of the website URL.

nginx version: 1.29.1
coller version: 1.0.0

No problem with nginx 1.18.

When nginx is used as a proxy pass, the create URL shows localhost:8080 or 127.0.0.1:8080 (configuration of proxy_pass) instead of the website URL. nginx version: 1.29.1 coller version: 1.0.0 No problem with nginx 1.18.
jriou self-assigned this 2025-09-01 13:04:07 +02:00
Author
Owner

Not a bug. This configuration was missing:

proxy_redirect          off;            
proxy_set_header        Host            $host;
proxy_set_header        X-Real-IP       $remote_addr;
proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
Not a bug. This configuration was missing: ``` proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ```
jriou closed this issue 2025-09-01 13:04:29 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jriou/coller#20
No description provided.