Files
bsd-apps/wordpress/includes/Caddyfile-nossl

31 lines
569 B
Caddyfile
Raw Normal View History

2024-10-13 19:15:33 -06:00
{
# debug
2024-10-13 19:15:33 -06:00
}
yourhostnamehere:80, :80 {
root * /usr/local/www/wordpress
encode gzip
file_server
2024-10-13 19:15:33 -06:00
log {
output file /var/log/yourhostnamehere.log
}
php_fastcgi 127.0.0.1:9000 {
env front_controller_active true
}
2024-10-13 19:15:33 -06:00
@forbidden {
not path /wp-includes/ms-files.php
path /xmlrpc.php
path *.sql
path /wp-content/uploads/*.php
path /wp-content/debug.log
path /wp-admin/includes/*.php
path /wp-includes/*.php
path /wp-config.php
path /.user.ini
}
respond @forbidden 403
2024-10-13 19:15:33 -06:00
}