Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Point to folder to page

$
0
0
I have the follow code that accesses my pages correctly:

location /echolot {
alias /home/webpage/www/echolot;
autoindex on;
}

When I go to allpingers.net/echolot/, it goes to an 'Index of /echolot/' page. Where I want allpingers.net/echolot/ to actually go to is https://allpingers.net/echolot/echolot.html. I can't simlink /echolot/ to index.html because I need the index page to remain where goes now. Does anyone know if I can somehow point allpingers.net/echolot/ to allpingers.net/echolot/echolot.html?

Thanks.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>