FunSkilZZ
Explorer
- Joined
- Apr 6, 2014
- Messages
- 51
hi,
i got NGINX web server succesfully installed, but now i have to configure the .conf file
i created a folder in the jail root called data then for the html files i created in the data folde a www folder, for images i did the same but then images.
now i edited the file like said on a tutoral that the server gets the file out of these folders, i restarted nginx but it dind't work, my own html didn't came up.
This is my file (inside http)
can anybody help me out ?
server { listen 80; server_name _; location / { root /data/www; index index.htm; } location /images/ { root /data; }
i got NGINX web server succesfully installed, but now i have to configure the .conf file
i created a folder in the jail root called data then for the html files i created in the data folde a www folder, for images i did the same but then images.
now i edited the file like said on a tutoral that the server gets the file out of these folders, i restarted nginx but it dind't work, my own html didn't came up.
This is my file (inside http)
can anybody help me out ?
server { listen 80; server_name _; location / { root /data/www; index index.htm; } location /images/ { root /data; }