id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 6013 [PATCH] Support X_FORWARDED_PROTO header John Hampton John Hampton "In many proxy configurations, specifically when running tracd behind [http://wiki.codemongers.com Nginx], https:// request will get redirected to http:// One solution is to set the `base_url` in trac.ini. However, this effectively destroys the possibility of having http:// access. A solution is to simple allow the proxy to set the `X_FORWARDED_PROTO` header. Attached is a patch to respect the `X_FORWARDED_PROTO` header. An example usage in Nginx would be: {{{ location / { proxy_pass http://dev; proxy_set_header X-Forwarded-Proto https; } }}}" enhancement closed normal 0.12.3 web frontend normal fixed nginx proxy https