Welcome! Log In Create A New Profile

Advanced

location

Slawa Olhovchenkov
July 05, 2019 12:18PM
есть кусок конфига

location /pkg { alias /poudriere/data/packages; index index.html index.htm; }

добавляем

location /pkg/edge12-default { proxy_pass http://X.Y.Z.Q; }

nginx -s reload

и призапросе получеам такую ошибку:

2019/07/05 19:07:05 [error] 23182#0: *102388 directory index of "/poudriere/data/packages/edge12-default/All/" is forbidden, client: 81.211.90.2, server: , request: "GET /pkg/edge12-default/All/ HTTP/1.1", host: "pkg.int.integros.com"

что за фигня?
а если сделать

/usr/local/etc/rc.d/nginx restart

то все начинает работать
что за нафиг?
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

location

Slawa Olhovchenkov July 05, 2019 12:18PM

Re: location

Maxim Dounin July 06, 2019 01:40PM

Re: location

Slawa Olhovchenkov July 06, 2019 02:04PM

Re: location

Maxim Dounin July 08, 2019 09:30AM

Re: location

Slawa Olhovchenkov July 08, 2019 09:56AM

Re: location

Maxim Dounin July 08, 2019 12:14PM

Re: location

Slawa Olhovchenkov July 08, 2019 12:26PM

Re: location

Maxim Dounin July 09, 2019 04:52AM

Re: location

Slawa Olhovchenkov July 09, 2019 05:08AM

Re: location

Maxim Dounin July 09, 2019 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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