Mustafa Ramadhan
12 March 2014, 11:34

Hiawatha version: 9.3.1
Operating System: Centos 5/6

In reverse-proxy, need X-Host, X-Real-IP, X-Forwarded-For and X-Forwarded-Protocol. Especially for https, X-Forwarded-Protocol is very importance.

Look like Hiawatha missing X-Forwarded-Protocol.
Hugo Leisink
13 March 2014, 13:10
I've added the X-Forwarded-Proto header. I'll take a look at X-Host and X-Real-IP.
Mustafa Ramadhan
13 March 2014, 17:57
This is example for nginx-proxy in Kloxo-MR:

proxy_set_header Host $domain;
proxy_set_header X-Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Protocol $scheme;
Hugo Leisink
13 March 2014, 20:23
I've also added X-Forwarded-Host (instead of X-Host) and X-Forwarded-Port (instead of X-Real-IP).
This topic has been closed.