I have a docker container, how can I most easily remove 443 and go to port 80 from Kiwi web.
I don't see anywhere a configuration file in the docker?
I removed the following lines from /etc/kiwi-httpd.conf
in the kiwi repository and then recreated the docker image:
# Force the use of ssl:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>
Then Kiwi won't try to redirect to https anymore, so I can handle the SSL certificate myself before I proxy on to Kiwi.
Just note that absolute links to Kiwi itself that Kiwi generates, for example links in the emails Kiwi sends out, will be http
. Most of the time this shouldn't be a problem if you redirect to the same URL with https
, but it could potentially be a problem in some cases.