Last active
May 20, 2020 14:00
-
-
Save ryanburnette/4b7822123195380e3873fa31cc9e7538 to your computer and use it in GitHub Desktop.
WordPress 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
{ | |
email [email] | |
} | |
[hostname] { | |
php_fastcgi unix//var/run/php/php-fpm.sock | |
file_server | |
encode gzip | |
log { | |
output file /var/log/caddy | |
} | |
@dotfiles { | |
path_regexp (^|\/)\.[^\.\/]+ | |
} | |
respond @dotfiles "Unauthorized" 401 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment