server-config/Caddyfile
Harsh Shandilya f81856d952
Caddyfile: big decommission energy
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-24 16:38:14 +05:30

12 lines
261 B
Caddyfile

https://dl.msfjarvis.dev {
tls {
dns cloudflare
protocols tls1.2
}
root /var/www/dl.msfjarvis.dev
fastcgi / /run/php/php7.2-fpm.sock php
rewrite {
if {path} ends_with /
to {dir}/index.html {dir}/index.php /_h5ai/public/index.php
}
}