diff options
author | jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3 <jonikiwiki@web> | 2017-12-08 08:01:02 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2017-12-08 08:01:02 -0400 |
commit | b3fdb9374afad9b1f2204b54daf0ef70357d2fcb (patch) | |
tree | dd6ebe137fbc1056994b8a274a637e633ee2cc77 | |
parent | d5e3bf092cd284c3efb51d6eb8c697292f0af260 (diff) | |
download | ikiwiki-b3fdb9374afad9b1f2204b54daf0ef70357d2fcb.tar ikiwiki-b3fdb9374afad9b1f2204b54daf0ef70357d2fcb.tar.gz |
formatting
-rw-r--r-- | doc/bugs/cgi_redirecting_to_non-https_URL.mdwn | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn b/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn index 148e8ea47..fe895c859 100644 --- a/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn +++ b/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn @@ -1,26 +1,27 @@ I have a private ikiwiki (3.20170111) which is running on a host that serves HTTP and HTTPS, but ikiwiki is configured for (and only served on) HTTPS: - url: https://<redacted>/phd/ - cgiurl: https://<redacted>/phd/cgi + url: https://redacted/phd/ + cgiurl: https://redacted/phd/cgi However, form submissions from ikiwiki are going to a HTTP URL and thus not being served. Example headers from submitting a comment: -``` -Request URL:https://<redacted>/phd/cgi -Request Method:POST -Status Code:302 Found -Remote Address:<redacted>:443 -Referrer Policy:no-referrer-when-downgrade + + + Request URL:https://redacted/phd/cgi + Request Method:POST + Status Code:302 Found + Remote Address:redacted:443 + Referrer Policy:no-referrer-when-downgrade Response Headers -HTTP/1.1 302 Found -Server: nginx/1.10.3 -Date: Fri, 08 Dec 2017 11:53:35 GMT -Content-Length: 0 -Connection: keep-alive -Status: 302 Found -Location: http://<redacted>/phd/blog/38th_Dec/?updated#comment-bd0549eb2464b5ca0544f68e6c32221e -``` + + HTTP/1.1 302 Found + Server: nginx/1.10.3 + Date: Fri, 08 Dec 2017 11:53:35 GMT + Content-Length: 0 + Connection: keep-alive + Status: 302 Found + Location: http://redacted/phd/blog/38th_Dec/?updated#comment-bd0549eb2464b5ca0544f68e6c32221e The CGI is served by lighttpd, but the whole site is front-ended by nginx, which reverse-proxies to lighttpd. |