Welcome! Log In Create A New Profile

Advanced

catch all location

Posted by angelochen960 
catch all location
May 29, 2013 11:02AM
hi,
this will catch /

location / {
index index.html index.htm;
}

I'd like to catch all, like /asdf, /asdfasdf/asdfasdf, in short, any url will always map into '/', how to do this? thanks,
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready