Welcome! Log In Create A New Profile

Advanced

Re: Works only in root..

Sergey A. Osokin
March 14, 2021 12:00AM
Hi,

is there any messages in error.log file?

While I'm here could you guide me - is there any specific reason to
use a back slash instead of a very common forward slash?

Thanks.

--
Sergey Osokin

On Sat, Mar 13, 2021 at 04:52:01PM -0500, bubugian wrote:
> 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
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Works only in root..

bubugian March 13, 2021 04:52PM

Re: Works only in root..

Sergey A. Osokin March 14, 2021 12:00AM

Re: Works only in root..

bubugian March 15, 2021 07:11AM

Re: Works only in root..

Francis Daly March 15, 2021 01:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 221
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