We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0abcd65 commit 0569835Copy full SHA for 0569835
sample_project/deploy/lighttpd-speedcenter.conf
@@ -0,0 +1,33 @@
1
+server.modules = (
2
+ "mod_fastcgi",
3
+ "mod_rewrite",
4
+ "mod_access",
5
+)
6
+
7
+server.document-root = "/path/to/speedcenter/"
8
9
+fastcgi.server = (
10
+ "/django" => (
11
+ "main" => (
12
+ "socket" => "/path/to/a/sock/file",
13
+ "check-local" => "disable",
14
+ )
15
16
17
18
+alias.url = (
19
+ # /static/admin depends of distribution.
20
+ "/static/admin" => "/usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin",
21
+ "/static" => "/path/to/static",
22
23
24
+url.rewrite-once = (
25
+ "^(/static.*)$" => "$1",
26
+ "^(/django/.*)$" => "$1",
27
+ "^(/.*)$" => "/django$1",
28
29
30
+mimetype.assign = ( ".png" => "image/png",
31
+ ".css" => "text/css",
32
+ ".js" => "text/javascript"
33
0 commit comments