Skip to content

Instantly share code, notes, and snippets.

@alexbilbie
Created January 7, 2016 15:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alexbilbie/dcb112cdf4a6310878c5 to your computer and use it in GitHub Desktop.
Save alexbilbie/dcb112cdf4a6310878c5 to your computer and use it in GitHub Desktop.
PHP-FPM Caddyfile example
root /app/public
tls /app/_docker/caddy/server.crt /app/_docker/caddy/server.key
fastcgi / php:9000 php
errors visible
rewrite {
regexp .*
ext /
to /index.php?{query}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment