Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active January 26, 2020 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fu-sen/a3a9b521fd74274e7f8d18e9b3fab41c to your computer and use it in GitHub Desktop.
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
0.0.0.0:{$PORT}
tls off
# Do not rewrite up to this point!
browse
log stdout
errors stdout
templates
FROM abiosoft/caddy
copy ./Caddyfile /etc/
COPY ./ /srv/
{{.Now "Monday, 2 Jan 2006"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment