proxy_pass problems
February 21, 2019 04:50PM
I use nginx as a reverse proxy. This worked for me perfectly in the past, but today I was playing around with the config and I must have messed something up seriously, cause it's no longer working. The problem is that the frontend/browser is getting the proxy_pass url forwarded. So I go to website https://example.org. This website proxy passes to 127.0.0.1 with
server {
listen 443 ssl;
server_name example.org;

location / {
proxy_pass http://127.0.0.1:9680;
# include /etc/nginx/proxy.conf;
}
}

and in my browser I get an error on 127.0.0.1 which (obviously) can't be reached. As you can see I commented out my proxy.conf as I must have messed up something there, but what proxy settings do I need to make sure that the client never ever sees my internal addresses?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready