Skip to content

Instantly share code, notes, and snippets.

@pedroborges
Created February 1, 2014 19:12
Show Gist options
  • Save pedroborges/8757075 to your computer and use it in GitHub Desktop.
Save pedroborges/8757075 to your computer and use it in GitHub Desktop.
HHVM config.hdf for Laravel
Server {
Port = 80
SourceRoot = /var/www/public/
}
VirtualHost {
* {
Pattern = .*
RewriteRules {
* {
pattern = .?
# app bootstrap
to = index.php
# append the original query string
qsa = true
}
}
}
}
StaticFile {
Extensions {
css = text/css
gif = image/gif
html = text/html
jpe = image/jpeg
jpeg = image/jpeg
jpg = image/jpeg
png = image/png
tif = image/tiff
tiff = image/tiff
txt = text/plain
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment