blakemartin
blakemartin
Hi All, Old issue, but here's how I solved this using auth_request and no funky rewriting: Nginx config (all in one block + lots of duplication to make it easy...
@nardeas - apologies, I missed this somehow. Got around it by using auth_request within the nginx config and letting nginx handle all the subdomain logic.
@KaustubhKhati - I posted an example config above. Please give that a try; if you're still having issues I can email you.