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: 322
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready