Created
October 12, 2017 03:57
-
-
Save paulredmond/d406b956babfc6ec560a633adc3a9571 to your computer and use it in GitHub Desktop.
The Caddyfile for a Laravel PHP project - https://caddyserver.com/docs/caddyfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.0.0.0 | |
root /srv/app/public | |
gzip | |
fastcgi / 127.0.0.1:9000 php | |
rewrite { | |
regexp .* | |
ext / | |
to /index.php?{query} | |
} | |
log stdout | |
errors stdout | |
on startup php-fpm --nodaemonize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment