Created
September 15, 2020 05:12
-
-
Save pjoe/f85f400c666d36dde8c31502b881d60a to your computer and use it in GitHub Desktop.
codesrv-caddy
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
code.xyz.com | |
reverse_proxy { | |
to https://code.xyz.com:8080 | |
transport http { | |
tls_insecure_skip_verify | |
} | |
} |
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
version: "3" | |
services: | |
caddy: | |
image: caddy:2 | |
restart: always | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- caddy:/data | |
- ./Caddyfile:/etc/caddy/Caddyfile | |
volumes: | |
caddy: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment