Welcome! Log In Create A New Profile


Reverse Proxy Root Not Working

Posted by mcalpinj 
Reverse Proxy Root Not Working
July 27, 2020 10:59AM
I have a reverse proxy setup that works great, as long as there's something after the root URL. Meaning, if I go to "http://mail.mydomain.com:4400/login_here" it works fine. If I attempt to go to "http://mail.mydomain.com:4400" the destination is not found. And the error lists the internal port and adds the extra URL information (http://mail.mydomain.com:400/login_here). Below is my config. What am I doing wrong? Or, is this a standard limitation?

server {
listen *:4400;
server_name mail.mydomain.com;
error_log syslog:server= debug;
access_log syslog:server=,facility=local7,tag=nginx,severity=info;

location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready