Caddy
This commit is contained in:
1 parent
6bcb8389b0
commit
b02d675541
3 files changed
+33
-2
No files matched your search
@@ -0,0 +1,4 @@
|
||||
{{ inventory.hostname } {
|
||||
# Reverse proxy to the container name and its internal port
|
||||
reverse_proxy 127.0.0.1:8080
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
caddy:
|
||||
image: caddy:2-alpine
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "443:443/udp" # Optional: Enables HTTP/3
|
||||
volumes:
|
||||
- {{ user.name }}/nextcloud/Caddyfile:/etc/caddy/Caddyfile
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
Reference in new issue
Block a user