NGINX Configuration file

Status
Not open for further replies.

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; }
 

FunSkilZZ

Explorer
Joined
Apr 6, 2014
Messages
51
No, wich port do you suggest ? Any random ? For viewing in my local network i just need to type the jail ip adress right.
Also when i did the restart (nginx -s reload) it just jumped to a line underneath, i didn't say anything
 

FunSkilZZ

Explorer
Joined
Apr 6, 2014
Messages
51
Il try in a bit, but the folder making was correct ? Trough windows
 

FunSkilZZ

Explorer
Joined
Apr 6, 2014
Messages
51
Is there an official how to for nginx istallation ?
 

FunSkilZZ

Explorer
Joined
Apr 6, 2014
Messages
51
I get when changing port google cannot find (jail ip) 192.168...
 
Status
Not open for further replies.
Top