Welcome! Log In Create A New Profile

Advanced

Re: nginx-1.7.12

Maxim Dounin
April 13, 2015 08:04AM
Hello!

On Fri, Apr 10, 2015 at 12:33:49PM -0400, softshape wrote:

> У нас да, X-Accel использует адрес типа "@upload/...." и в конфиге определен
> location -
>
> location ^~ @upload { internal; alias /home/www/upload; }
>
> А как правильно делать теперь? @ на / заменить?

Да, использовать обычные URI. И заодно можно приседания с "alias"
выкинуть, обычного "root /home/www;" хватит.

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

nginx-1.7.12

Maxim Dounin April 07, 2015 12:24PM

Re: nginx-1.7.12

softshape April 08, 2015 11:45PM

Re: nginx-1.7.12

Maxim Dounin April 09, 2015 06:36AM

Re: nginx-1.7.12

softshape April 10, 2015 12:33PM

Re: nginx-1.7.12

Maxim Dounin April 13, 2015 08:04AM

Re: nginx-1.7.12

dwow April 14, 2015 08:25AM

Re: nginx-1.7.12

Maxim Dounin April 14, 2015 08:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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