Commit | Line | Data |
1d2376f3 |
1 | =head1 NAME |
2 | |
3 | Catalyst::Manual::Deployment::lighttpd::FastCGI - Deploying Catalyst with lighttpd |
4 | |
5 | =head4 Static file handling |
6 | |
7 | Static files can be served directly by lighttpd for a performance boost. |
8 | |
9 | $HTTP["url"] !~ "^/(?:img/|static/|css/|favicon.ico$)" { |
10 | fastcgi.server = ( |
11 | "" => ( |
12 | "MyApp" => ( |
13 | "socket" => "/tmp/myapp.socket", |
14 | "check-local" => "disable", |
15 | ) |
16 | ) |
17 | ) |
18 | } |
19 | |
20 | Which serves everything in the img, static, css directories |
21 | statically, as well as the favicon file. |
22 | |