I have some locations on my server. I want to catch all other locations which users give via browser. How to to that? For example
server {
...
location /location1 {
do something;
}
location /location2 {
do something;
}
location /all_other_locations {
return 301 http://www.google.de
}