nginx reverse proxy for vibe tutorial

David d at dav1d.de
Fri May 4 04:54:03 PDT 2012


> * using `try_files`, nginx complains that you can't use proxy_pass
> inside a named location (like `@vibe`), which means you can't use
> try_files to serve arbitrary static files, hence the massive list of
> extensions.

why not doing:


root /path/to/static

location / {
     try_files $uri @app_proxy
}

location @app_proxy {
     ...
}


More information about the Digitalmars-d mailing list