Loading...
 
Skip to main content

Tiki does not recognize proxy headers

Status
Closed
Subject
Tiki does not recognize proxy headers
Category
  • Error
Feature
All / Undefined
Resolution status
New
Submitted by
Fabio Montefuscolo
Lastmod by
Fabio Montefuscolo
Rating
(0)
Description

Hello all!

I have a Tiki instance, installed with regular Apache and .htaccess and I tried to put the Ngnix as a reverse proxy for that.

The Nginx was setup to accept just https connections. The scheme is forwarded by using the header X-Forwarded-Proto, which is suggested by nginx documentation. While Tiki does not recognize that, Tiki pages will use the regular http when rendering action on any form, like auth form for example. When user POST to http://, the proxy will redirect http to https and the POST request will be lost.

I suggest Tiki recognize X-Forwarded-* and also Forwarded, as we can find on https://www.nginx.com/resources/wiki/start/topics/examples/forwarded/.

Cheers,


Importance
8
Easy to solve?
4
Priority
32
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6698
Created
Tuesday 12 June, 2018 17:32:58 UTC
by Fabio Montefuscolo
LastModif
Tuesday 18 February, 2020 15:38:23 UTC


Show PHP error messages