Caddyfile: attempt updating for v2
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
140aba4e23
commit
57ab93e496
10
Caddyfile
10
Caddyfile
|
@ -1,12 +1,8 @@
|
|||
https://dl.msfjarvis.dev {
|
||||
tls {
|
||||
dns cloudflare
|
||||
dns cloudflare ${env.CLOUDFLARE_API_TOKEN}
|
||||
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
|
||||
}
|
||||
root * /var/www/dl.msfjarvis.dev
|
||||
php_fastcgi unix//run/php/php7.2-fpm.sock
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue