Skip to content

Instantly share code, notes, and snippets.

@varokas
Created April 12, 2020 20:30
Show Gist options
  • Save varokas/28fcce848858701905a6dfeeb241f647 to your computer and use it in GitHub Desktop.
Save varokas/28fcce848858701905a6dfeeb241f647 to your computer and use it in GitHub Desktop.
Caddy as a reverse proxy
www.varokas.com
reverse_proxy ghost:2368
version: '3.1'
services:
caddy:
ports:
- 80:80
- 443:443
image: caddy/caddy
volumes:
- ./caddy/data:/data
- ./caddy/config/Caddyfile:/etc/caddy/Caddyfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment