1 # This is completely optional, but if you're running a site with
2 # ssl="always" configured, then you might as well redirect any of
3 # your stray HTTP visitors to HTTPS.
5 #$HTTP["scheme"] == "http" {
6 # $HTTP["host"] =~ "^(social\.example\.com)$" {
7 # url.redirect = ( "^\/?(.*)" => "https://%1/$1" )
12 # If you're using vhosts, you should have per-vhost server.document-root
13 # settings too! Read how in the respective alternative vhost modules.
14 #$HTTP["host"] =~ "^social\.example\.com$" {
16 # NOTE: configure fastcgi/cgi/fpm here if you're using per-user cgi/fpm
17 # fastcgi.server += ( ".php" =>
19 # "host" => "127.0.0.1",
24 dir-listing.activate = "disable"
26 # Make sure "mod_rewrite" is enabled in server.modules
27 url.rewrite-if-not-file = ( "^/(.*)$" => "/index.php/$1" )