Welcome! Log In Create A New Profile

Advanced

nginx 1.9.6 /etc/nginx/html

basti
November 24, 2015 08:56AM
Hello,
I have installed nginx 1.9.6 on debian jessie.
As I can see there is no sites-enabled and sites-available anymore. Is
that right?

An other strange thing is that nginx looks in "/etc/nginx/html" for
files but this dirctory does not exist. For example:

2015/11/24 14:24:51 [error] 14763#14763: *70 open()
"/etc/nginx/html/robots.txt" failed (2: No such file or directory)

But I can't find an entry for "/etc/nginx/html" in any config file
placed in /etc/nginx.
Is it "hard-coded" in source?

Regards,
Basti

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

nginx 1.9.6 /etc/nginx/html

basti November 24, 2015 08:56AM

Re: [Solved] nginx 1.9.6 /etc/nginx/html

basti November 24, 2015 09:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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