I got some time at work, so I was working on getting our dev instance of RT working on Nginx in stead of apache. So far it works fine and the performance also seems to be better, I just got one issue where I’m not able to track it down:
If I open the login page via https and login, I get redirected to the main RT page with http and port 443. If I correct this manually, everything afterwards seems to work fine again.
After doing a TCPDump between nginx and the fcgi-server I belive that the issue is the RT itself. here the interesting part:
Status: 302 Found Set-Cookie: RT_SID_MarcanT.443=5a4f2d748678ee3b48ec59d2881d1a57; path=/; HttpOnly Date: Thu, 10 Dec 2020 17:30:01 GMT Location: http://rt-dev.marcant.loc:443/ Content-Type: text/html; charset=utf-8 X-Frame-Options: DENY
I already checked the configuration table in the database, its empty. and for the RT_SiteConfig, I also noticed no error here. I have already tried around here a little (of course with clearing the cache and restarting the fcgi-server and nginx every time), but for now it wasnt working.
Even setting $WebPort to some nonsense like 4433 doesnt result in a change.
Any Ideas how to track the problem down?
/edit: fixed the formatting for the tcpdump snippet