]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/cgi_redirecting_to_non-https_URL.mdwn
bug report re http redirect
[git.ikiwiki.info.git] / doc / bugs / cgi_redirecting_to_non-https_URL.mdwn
1 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:
3     url: https://<redacted>/phd/
4     cgiurl: https://<redacted>/phd/cgi
6 However, form submissions from ikiwiki are going to a HTTP URL and thus not being served. Example headers from submitting a comment:
8 ```
9 Request URL:https://<redacted>/phd/cgi
10 Request Method:POST
11 Status Code:302 Found
12 Remote Address:<redacted>:443
13 Referrer Policy:no-referrer-when-downgrade
15 Response Headers
16 HTTP/1.1 302 Found
17 Server: nginx/1.10.3
18 Date: Fri, 08 Dec 2017 11:53:35 GMT
19 Content-Length: 0
20 Connection: keep-alive
21 Status: 302 Found
22 Location: http://<redacted>/phd/blog/38th_Dec/?updated#comment-bd0549eb2464b5ca0544f68e6c32221e
23 ```