From f6150e75e0a3ee8da88730d22ee41331749e6a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?La=20Dr=C3=B4me=20Laboratoire?= <45164229+ladromelaboratoire@users.noreply.github.com> Date: Sun, 29 Mar 2020 13:46:26 +0200 Subject: [PATCH] Adding placehorlder in Caddy 2.x config file --- Proxy-examples.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Proxy-examples.md b/Proxy-examples.md index c83374e..ff93893 100644 --- a/Proxy-examples.md +++ b/Proxy-examples.md @@ -55,18 +55,18 @@ Caddy 2 can also automatically enable HTTPS in some circumstances, check the [do X-Frame-Options "DENY" # Prevent search engines from indexing (optional) X-Robots-Tag "none" - # Server name removing - -Server + # Server name removing + -Server } # The negotiation endpoint is also proxied to Rocket - reverse_proxy /notifications/hub/negotiate bitwardenrs:80 + reverse_proxy /notifications/hub/negotiate :80 # Notifications redirected to the websockets server - reverse_proxy /notifications/hub bitwardenrs:3012 + reverse_proxy /notifications/hub :3012 # Proxy the Root directory to Rocket - reverse_proxy bitwardenrs:80 + reverse_proxy :80 } #{env.DOMAIN}:443 { @@ -99,13 +99,13 @@ Caddy 2 can also automatically enable HTTPS in some circumstances, check the [do # -Server # } # # The negotiation endpoint is also proxied to Rocket -# reverse_proxy /notifications/hub/negotiate bitwardenrs:80 +# reverse_proxy /notifications/hub/negotiate :80 # # # Notifications redirected to the websockets server -# reverse_proxy /notifications/hub bitwardenrs:3012 +# reverse_proxy /notifications/hub :3012 # # # Proxy the Root directory to Rocket -# reverse_proxy bitwardenrs:80 +# reverse_proxy :80 #} ```