Works only in root..
bubugian
nginx-forum at forum.nginx.org
Sat Mar 13 21:52:01 UTC 2021
Hi GROUP !
I've a problem with NGINX (reverse proxy).
All work perfectly if I assign internal server to root:
server {
listen 80;
listen [::]:80;
access_log /var/log/nginx/reverse-access.log;
error_log /var/log/nginx/reverse-error.log;
location /{
proxy_pass https://192.168.1.10;
}
}
and ask browser to: NGINX_IP\
___
and stop work if I use a path different from ROOT:
server {
listen 80;
listen [::]:80;
access_log /var/log/nginx/reverse-access.log;
error_log /var/log/nginx/reverse-error.log;
location /qnap{
proxy_pass https://192.168.1.10;
}
}
and ask browser to: NGINX_IP\qnap
____
What am I doing wrong ?
Thanks !
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,290968,290968#msg-290968
More information about the nginx
mailing list