mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +08:00
- fixed cert mounting
- fixed caddy restart in nm-certs.sh - aligned all configs
This commit is contained in:
+6
-6
@@ -1,6 +1,6 @@
|
||||
# Dashboard
|
||||
https://dashboard.NETMAKER_BASE_DOMAIN {
|
||||
tls /root/fullchain.pem /root/privkey.pem
|
||||
tls /root/certs/fullchain.pem /root/certs/privkey.pem
|
||||
# Apply basic security headers
|
||||
header {
|
||||
# Enable cross origin access to *.NETMAKER_BASE_DOMAIN
|
||||
@@ -22,30 +22,30 @@ https://dashboard.NETMAKER_BASE_DOMAIN {
|
||||
|
||||
# API
|
||||
https://api.NETMAKER_BASE_DOMAIN {
|
||||
tls /root/fullchain.pem /root/privkey.pem
|
||||
tls /root/certs/fullchain.pem /root/certs/privkey.pem
|
||||
reverse_proxy http://netmaker:8081
|
||||
}
|
||||
|
||||
# STUN
|
||||
https://stun.NETMAKER_BASE_DOMAIN {
|
||||
tls /root/fullchain.pem /root/privkey.pem
|
||||
tls /root/certs/fullchain.pem /root/certs/privkey.pem
|
||||
reverse_proxy netmaker:3478
|
||||
}
|
||||
|
||||
# TURN
|
||||
https://turn.NETMAKER_BASE_DOMAIN {
|
||||
tls /root/fullchain.pem /root/privkey.pem
|
||||
tls /root/certs/fullchain.pem /root/certs/privkey.pem
|
||||
reverse_proxy host.docker.internal:3479
|
||||
}
|
||||
|
||||
# TURN API
|
||||
https://turnapi.NETMAKER_BASE_DOMAIN {
|
||||
tls /root/fullchain.pem /root/privkey.pem
|
||||
tls /root/certs/fullchain.pem /root/certs/privkey.pem
|
||||
reverse_proxy http://host.docker.internal:8089
|
||||
}
|
||||
|
||||
# MQ
|
||||
wss://broker.NETMAKER_BASE_DOMAIN {
|
||||
tls /root/fullchain.pem /root/privkey.pem
|
||||
tls /root/certs/fullchain.pem /root/certs/privkey.pem
|
||||
reverse_proxy ws://mq:8883 # For EMQX websockets use `reverse_proxy ws://mq:8083`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user