-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(Caddy): minor improvements at Caddyfile(s)
- Loading branch information
Showing
2 changed files
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
website.localhost { | ||
(common-server) { | ||
tls internal | ||
|
||
respond /healthcheck 200 | ||
|
||
root * /var/www/html/public | ||
|
||
encode zstd gzip | ||
|
||
respond /healthcheck 200 | ||
|
||
php_fastcgi app:9000 | ||
|
||
root * /var/www/html/public | ||
|
||
file_server | ||
} | ||
|
||
localhost { | ||
import common-server | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
acme.com { | ||
(common-server) { | ||
tls internal | ||
|
||
respond /healthcheck 200 | ||
|
||
root * /var/www/html/public | ||
|
||
encode zstd gzip | ||
|
||
respond /healthcheck 200 | ||
|
||
php_fastcgi app:9000 | ||
|
||
root * /var/www/html/public | ||
|
||
file_server | ||
} | ||
|
||
acme.com { | ||
import common-server | ||
} |