Question
How to access to folder without domain using nginx and CentOS?
Hi!
I have a big doubt about how to load the content of a folder in the browser without use a domain using nginx in CentOS… I mean, like apache works, for example:
If I have in /var/www/html/page1 and /var/www/html/page2 I can open those folders in the url with this
myip/page1
myip/page2
So, I want to do the same in my droplet… I have many folders in my www folder and I want to access to these folders like the above.
I want to do this because, I want to provide access to the demos of my apps of my portafolio to the users.
Thanks in advance
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.
×
you can ofcourse do that, just check you did not have permission restrictions . It is purely a web server issue.
@ajay.kudva Great but, can you help me with the .conf file, I mean, how can I build the file?
You want users to be able to browse your folders content? is that what you are asking for?