Question
Default page in NGINX
Hi,
I have install a new LEMP server by following the instructions here https://digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04
The installation was successful by following the help guide.
Issue:
When I go to my domain example.com/index.php -- it works great
When I go to my domain exmaple.com - It automatically download a file. I would like it to default to index.php or index.htm or index.html.
How do I go about setting that up. Thank much for your help.
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×