aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn
diff options
context:
space:
mode:
authorsmcv <smcv@web>2018-01-08 06:05:36 -0400
committeradmin <admin@branchable.com>2018-01-08 06:05:36 -0400
commit92f365f798f4dc633f839f3087325c200b0177c7 (patch)
treecb7a7aee45b3ab6fbfd169e7103cb632d1586986 /doc/bugs/cgi_redirecting_to_non-https_URL.mdwn
parent8e280df9deff216f68db278e8a6ec5a9aeae697e (diff)
downloadikiwiki-92f365f798f4dc633f839f3087325c200b0177c7.tar
ikiwiki-92f365f798f4dc633f839f3087325c200b0177c7.tar.gz
test case potentially in progress
Diffstat (limited to 'doc/bugs/cgi_redirecting_to_non-https_URL.mdwn')
-rw-r--r--doc/bugs/cgi_redirecting_to_non-https_URL.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn b/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn
index abdc676a0..217aa336d 100644
--- a/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn
+++ b/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn
@@ -31,3 +31,15 @@ I think this might be to do with nginx not rewriting POST URLs when reverse-prox
they would be generated in an HTTP form in any case, except perhaps by lighttpd's CGI handler since the back
end is HTTP. A workaround is for nginx to redirect any HTTP URI to the HTTPS equivalent. I initially disabled
that so as to have the path for letsencrypt negotiation not redirected.-- [[Users/Jon]]
+
+> Do you have the `reverse_proxy` option set to 1? (It affects how ikiwiki generates
+> self-referential URLs).
+>
+> Is the connection between nginx and lighttpd http or https?
+>
+> I think this is maybe a bug in `IkiWiki::redirect` when used in conjunction with
+> `reverse_proxy: 1`. I'm in the process of adding a
+>
+> Assuming nginx has a reasonable level of configuration, you can redirect http to https
+> for the entire server except `/.well-known/acme-challenge/` as a good way to bootstrap
+> ACME negotiation. --[[smcv]]