[Solved] nginx 1.9.6 /etc/nginx/html

basti black.fledermaus at arcor.de
Tue Nov 24 14:17:19 UTC 2015


Upgrade to nginx 1.9.7 fixed the error with/etc/nginx/html


Am 24.11.2015 um 14:54 schrieb basti:
> 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list