Add traefik in front of CHP

introduces configuration for manual tls and letsencrypt
This commit is contained in:
Min RK
2018-07-21 00:20:29 -07:00
parent 2cb7d10ac7
commit 000ac05e14
8 changed files with 204 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
After=network.target
[Service]
User=root
User=nobody
Restart=always
# chp process should have no write access anywhere on disk
ProtectHome=tmpfs
@@ -16,8 +16,8 @@ ProtectKernelTunables=yes
ProtectKernelModules=yes
EnvironmentFile={install_prefix}/state/configurable-http-proxy.secret
ExecStart={install_prefix}/hub/node_modules/.bin/configurable-http-proxy \
--ip 0.0.0.0 \
--port 80 \
--ip 127.0.0.1 \
--port 15003 \
--api-ip 127.0.0.1 \
--api-port 15002 \
--error-target http://127.0.0.1:15001/hub/error