Welcome! Log In Create A New Profile

Advanced

Re: index на конкретный файл

May 23, 2010 07:44AM
On Sun, May 23, 2010 at 07:36:46AM -0400, useman wrote:

> Вылезает [alert] 3432#0: *1 "/home/user/tmp/file.html[b]index.html[/b]" is not a directory
> Наверное, нужно подставить ещё что-то другое в директиву index?
>
> nginx-0.7.65

root /home/user/tmp/;
location = / { index file.html; }
location = /file.html { internal; }
location / { return 404; }


--
Игорь Сысоев
http://sysoev.ru

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

index на конкретный файл

useman May 23, 2010 12:38AM

Re: index на конкретный файл

Igor Sysoev May 23, 2010 02:16AM

Re: index на конкретный файл

useman May 23, 2010 07:36AM

Re: index на конкретный файл

Igor Sysoev May 23, 2010 07:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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