Bensuperpc 66b014c076
Revert "Update Caddy"
This reverts commit 1e912164a6fad6e12883a916691292b2389af0fb.
2023-04-15 20:41:16 +02:00

20 lines
350 B
Caddyfile

bensuperpc.org {
root * /var/www/html
php_fastcgi wordpress:9000
file_server
encode gzip
@disallowed {
path /xmlrpc.php
path *.sql
path /wp-content/uploads/*.php
}
rewrite @disallowed '/index.php'
respond /uploads/*.php 404
}
www.bensuperpc.com {
redir https://bensuperpc.org{uri}
}