Last active
January 26, 2020 01:59
-
-
Save fu-sen/a3a9b521fd74274e7f8d18e9b3fab41c to your computer and use it in GitHub Desktop.
Caddy with Google Cloud Run (Freely editable Caddyfile) https://caddy.community/t/caddy-works-with-google-cloud-run/6898
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
0.0.0.0:{$PORT} | |
tls off | |
# Do not rewrite up to this point! | |
browse | |
log stdout | |
errors stdout | |
templates |
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
FROM abiosoft/caddy | |
copy ./Caddyfile /etc/ | |
COPY ./ /srv/ |
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
{{.Now "Monday, 2 Jan 2006"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment