mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
36 lines
721 B
Caddyfile
36 lines
721 B
Caddyfile
https://exchange-staging.izyim.com {
|
|
root /var/www/public
|
|
|
|
fastcgi / 127.0.0.1:9000 php {
|
|
index index.php
|
|
}
|
|
|
|
header / {
|
|
Cache-Control no-cache
|
|
}
|
|
|
|
# To handle .html extensions with laravel change ext to
|
|
# ext / .html
|
|
|
|
rewrite {
|
|
r .*
|
|
ext /
|
|
to /index.php?{query}
|
|
}
|
|
|
|
gzip
|
|
# browse
|
|
log stdout
|
|
errors stdout
|
|
on startup php-fpm --nodaemonize
|
|
# Uncomment to enable TLS (HTTPS)
|
|
# Change the first list to listen on port 443 when enabling TLS
|
|
tls admin@izyim.com
|
|
|
|
# To use Lets encrpt tls with a DNS provider uncomment these
|
|
# lines and change the provider as required
|
|
#tls {
|
|
# dns cloudflare
|
|
#}
|
|
}
|