nginx default catch all configuration

view story

http://serverfault.com – We are using nginx to serve static content and apache for dynamic content. I have defined a default server configuration as: #Set a default server that simply proxies all requests to apache server { listen 80 default_server; server_name _; location / { proxy_pass; } } Is the the best way to proxy everything to apache if for some reason a server_name does not match? (HowTos)