Last active
August 2, 2016 06:29
-
-
Save harikt/ed5715e9b762181c97c46cab8cc74296 to your computer and use it in GitHub Desktop.
Caddyfile for almost any php projects . Works for Zendexpressive, not tested with other frameworks.
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
localhost:8000 | |
gzip | |
tls off | |
root /path/to/public | |
fastcgi / /var/run/php/php7.0-fpm.sock php | |
rewrite { | |
to {path} {path} /index.php?{query} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment