diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-22 07:39:43 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-08-22 07:39:43 -0700 |
commit | 3a8ea0015aae951aef1093e7adc2c72191d1ae28 (patch) | |
tree | bbcbec0e783a4d314d5b6d967946e5740b497043 /doc/forum/support_for_https_proxy__63__.mdwn | |
parent | a3c7efe91e11568a91771b3a3b56be8879fd4a89 (diff) | |
parent | 77b9e79d7a08bf568d0325dc3cbc661822f16ce5 (diff) | |
download | debug-me-3a8ea0015aae951aef1093e7adc2c72191d1ae28.tar.gz |
Merge tag '1.20200820'
tagging package debug-me version 1.20200820
Diffstat (limited to 'doc/forum/support_for_https_proxy__63__.mdwn')
-rw-r--r-- | doc/forum/support_for_https_proxy__63__.mdwn | 16 |
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." +"""]] |