summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordavid@1439a1cab13195a56248b6a8fd98a62028bcba8a <david@web>2020-08-19 15:03:45 +0000
committeradmin <admin@branchable.com>2020-08-19 15:03:45 +0000
commit22071468c7351d214d4dde34d6897d9d093b0d8c (patch)
tree22da9c6aad549f79e91138a97412b789d2c4de19
parent7e0068496236b4a013a2bd8f13b3195875d846af (diff)
downloaddebug-me-22071468c7351d214d4dde34d6897d9d093b0d8c.tar.gz
-rw-r--r--doc/forum/support_for_https_proxy__63__.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/forum/support_for_https_proxy__63__.mdwn b/doc/forum/support_for_https_proxy__63__.mdwn
new file mode 100644
index 0000000..da89550
--- /dev/null
+++ b/doc/forum/support_for_https_proxy__63__.mdwn
@@ -0,0 +1,16 @@
+I tried a simple nginx port forward
+[[!format text """
+location /debug-me/ {
+ proxy_set_header Host $http_host;
+ proxy_set_header X-Forwarded-Proto https;
+ proxy_redirect off;
+ proxy_pass https://127.0.0.1:8081;
+ proxy_http_version 1.1;
+}
+"""]]
+
+I'm not sure if I botched the proxy configuration, or if debug-me needs something added to support proxying?
+
+[[!format text """
+Connecting to debug-me server...debug-me: MalformedResponse (ResponseHead {responseCode = 301, responseMessage = "Moved Permanently", responseHeaders = [("Server","nginx/1.14.2"),("Date","Wed, 19 Aug 2020 15:02:36 GMT"),("Content-Type","text/html"),("Content-Length","185"),("Location","http://pivot.cs.unb.ca/debug-me/"),("Connection","keep-alive")]}) "Wrong response status or message."
+"""]]