Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
2
Newest
 Student
Impact
~124 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Oct
27
comment How to use a custom variable for the scheme in a rewrite rule in nginx
Yeah, that's the conclusion I've come to as well.
Oct
25
comment How to use a custom variable for the scheme in a rewrite rule in nginx
I'm using a load balancer to terminate TLS and send x-forwarded-proto, thus, $scheme is always http. $real_scheme is set based on x-forwarded-proto or $scheme if that header doesn't exist. I want my rewrites to stay on the same scheme that was originally requested.
Oct
24
awarded  Student
Oct
24
asked How to use a custom variable for the scheme in a rewrite rule in nginx
May
1
awarded  Autobiographer