Jump to content

Ubuntu problems?


Dr.Linux
 Share

Recommended Posts

ngingx install is really easy on ubuntu..

sudo apt-get install nginx

In your nginx site configuration (/etc/nginx/sites-available/default)

Your default web root is located at /usr/share/nginx/www (per the config file). (See root /usr/share/nginx/www;)

You could change it to

root /home/user/webroot;

To enabel autoindex (easier to browse in the webbrowser) on nginx add:

autoindex on;
to your location sectionand then...
sudo service nginx restart
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...