mirror of https://github.com/pallets/flask.git
Fix regex in lighttpd example config to only match static/ and sub-items, and not all directories that start with 'static'
This commit is contained in:
parent
0f3bc38a18
commit
b0fdae4e1f
|
|
@ -128,7 +128,7 @@ A basic FastCGI configuration for lighttpd looks like that::
|
||||||
)
|
)
|
||||||
|
|
||||||
url.rewrite-once = (
|
url.rewrite-once = (
|
||||||
"^(/static.*)$" => "$1",
|
"^(/static($|/.*))$" => "$1",
|
||||||
"^(/.*)$" => "/yourapplication.fcgi$1"
|
"^(/.*)$" => "/yourapplication.fcgi$1"
|
||||||
|
|
||||||
Remember to enable the FastCGI, alias and rewrite modules. This configuration
|
Remember to enable the FastCGI, alias and rewrite modules. This configuration
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue