mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 08:17:01 +05:30
caddy: switch to Netlify DNS
This commit is contained in:
parent
c651f5d30b
commit
d116f4c68a
1 changed files with 2 additions and 5 deletions
|
@ -17,11 +17,8 @@ dl.msfjarvis.dev {
|
||||||
php_fastcgi unix//run/php/php-fpm.sock {
|
php_fastcgi unix//run/php/php-fpm.sock {
|
||||||
try_files {path} {path}/index.php /_h5ai/public/index.php =404
|
try_files {path} {path}/index.php /_h5ai/public/index.php =404
|
||||||
}
|
}
|
||||||
tls /etc/caddy/cert.pem /etc/caddy/key.pem {
|
tls {
|
||||||
client_auth {
|
dns netlify
|
||||||
mode require_and_verify
|
|
||||||
trusted_ca_cert_file /etc/caddy/cloudflare_origin_cert.pem
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
file_server
|
file_server
|
||||||
encode gzip
|
encode gzip
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue