Hiawatha is running behind nginx (reverse-proxy) and the support stuff installed my SSL certs.
For some sites, I want access only via HTTPS and Webfaction docs says to put the following in .htacces file:
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
in order to make Apache running behind nginx happy.
Now I wonder if in such setup I could solve the issue by only deploying some URL toolkit's rules (any help in translating above)?
Hiawatha version: 9.11
Operating System: CsntOS x86_64