Question
How to configure URL extensions at Nginx
Hello,
I have a droplet and a website. I can upload my html files to my droplet and see them correctly.
But I just want to see my web pages like this;
12.34.556.708/home
12.34.556.708/about
12.34.556.708/test
etc
and not like this;
12.34.556.708/home.html
12.34.556.708/about.asp
12.34.556.708/test.php
etc
How can i do that? Is that possible with nginx settings?
I’ve tried a couple of configurations such as the one found on the link below –>
[https://www.digitalocean.com/community/questions/about-url-extensions-at-nginx](http://)
and also a few others i found on stack-overflow. But all don’t seem to be working.
Is there an actual means to load webpages without their extensions showing?
P.S I’m a newbie to nginx
Thank you.
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.
×