Use https in dev mode
This commit is contained in:
parent
180de2d3a9
commit
ab2a8ca419
@ -5,7 +5,7 @@
|
||||
|
||||
:8000
|
||||
|
||||
reverse_proxy /system/* http://autoupdate:8002 {
|
||||
reverse_proxy /system/* autoupdate:8002 {
|
||||
flush_interval -1
|
||||
}
|
||||
|
||||
|
20
caddy/Caddyfile.dev
Normal file
20
caddy/Caddyfile.dev
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
# Enable debug output
|
||||
debug
|
||||
}
|
||||
|
||||
localhost:8000
|
||||
|
||||
reverse_proxy /system/* autoupdate:8002 {
|
||||
flush_interval -1
|
||||
}
|
||||
|
||||
@server {
|
||||
path /apps/*
|
||||
path /rest/*
|
||||
path /server-version.txt
|
||||
path /media/*
|
||||
}
|
||||
reverse_proxy @server server:8000
|
||||
|
||||
reverse_proxy client:4200
|
@ -48,7 +48,7 @@ services:
|
||||
caddy:
|
||||
image: caddy:2.3.0-alpine
|
||||
volumes:
|
||||
- ../caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||
- ../caddy/Caddyfile.dev:/etc/caddy/Caddyfile
|
||||
depends_on:
|
||||
- client
|
||||
- server
|
||||
|
Loading…
Reference in New Issue
Block a user