Welcome! Log In Create A New Profile

Advanced

Re: nginx конфиг для домена

March 23, 2018 11:10AM
> On 17 Mar 2018, at 12:52, iuerhiguerhg <nginx-forum@forum.nginx.org> wrote:
>
> подскажите пожалуйста что прописать в location конфига домена чтоб при
> запросе domain.com/1.html отдавало /var/www/www-root/25.html

location = /1.html {
alias /var/www/www-root/25.html;
}


--
Igor Sysoev
http://nginx.com

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

nginx конфиг для домена

iuerhiguerhg March 17, 2018 05:52AM

Re: nginx конфиг для домена

Igor Sysoev March 23, 2018 11:10AM



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