Hi,
I am running Nginx on Centos 6.7 32 bits
I am using the official Nginx repo and I've lately updated Nginx to v 1.8.1 (update nginx-1.8.1-1.el6.ngx.i386).
Then I found out that the index.html I had in the default location (/usr/share/nginx/html/index.html) got overwriten by the default Nginx index.html file.
I guess some might argue that I might use a virtual host but since I am only hosting one single site I didn't feel I needed it (yet I may do so in the future indeed ;))
But apart from this remark (virtual host usage), is that an expected behaviour that this file gets overwriten when updating version ?
Thanks for your input on this.
Yves
I am running Nginx on Centos 6.7 32 bits
I am using the official Nginx repo and I've lately updated Nginx to v 1.8.1 (update nginx-1.8.1-1.el6.ngx.i386).
Then I found out that the index.html I had in the default location (/usr/share/nginx/html/index.html) got overwriten by the default Nginx index.html file.
I guess some might argue that I might use a virtual host but since I am only hosting one single site I didn't feel I needed it (yet I may do so in the future indeed ;))
But apart from this remark (virtual host usage), is that an expected behaviour that this file gets overwriten when updating version ?
Thanks for your input on this.
Yves