I have spent some time setting up nginx as a reverse proxy for
vibe, and I thought I might share some of my issues here for now,
just in case it helps someone.
I will assume that you are generally familiar with configuring
nginx, where the files are, how server directives work etc.
The basic
* 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
On Friday, 4 May 2012 at 11:54:04 UTC, David wrote:
* 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 /pat
Am 06.05.2012 03:00, schrieb James Miller:
On Friday, 4 May 2012 at 11:54:04 UTC, David wrote:
* 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
On Sunday, 6 May 2012 at 13:47:27 UTC, David wrote:
Am 06.05.2012 03:00, schrieb James Miller:
On Friday, 4 May 2012 at 11:54:04 UTC, David wrote:
* 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 s
On Sunday, 6 May 2012 at 22:32:16 UTC, James Miller wrote:
I thought it should work, and I'm probably missing something,
but here:
nginx: [emerg] "proxy_pass" cannot have URI part in location
given by regular expression, or inside named location, or
inside "if" statement, or inside "limit_e
On Sunday, 6 May 2012 at 22:42:21 UTC, James Miller wrote:
I think FUU is the most appropriate sentiment here.
Wait till you try using conditional blocks in Lighty's
configuration files… [1]
David
[1] lighttpd supports conditional blocks for a number of
predefined variables, inclu
On Sunday, 6 May 2012 at 22:50:56 UTC, David Nadlinger wrote:
On Sunday, 6 May 2012 at 22:42:21 UTC, James Miller wrote:
I think FUU is the most appropriate sentiment here.
Wait till you try using conditional blocks in Lighty's
configuration files… [1]
David
[1] lighttpd supports
"James Miller" wrote in message
news:tsqxxnxrqfcfyvxmp...@forum.dlang.org...
> On Sunday, 6 May 2012 at 22:50:56 UTC, David Nadlinger wrote:
>> On Sunday, 6 May 2012 at 22:42:21 UTC, James Miller wrote:
>>> I think FUU is the most appropriate sentiment here.
>>
>> Wait till you try using
谢谢!
10 matches
Mail list logo