Reputation
380
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 4 26
Impact
~60k people reached

  • 0 posts edited
  • 0 helpful flags
  • 8 votes cast
Nov
16
awarded  Famous Question
Oct
14
answered Switch between proxy_pass and uwsgi_pass based on cookie?
Oct
14
comment Switch between proxy_pass and uwsgi_pass based on cookie?
@alexy-ten Tangential to this question: is there anyway to match multiple routes with the same logic? Just looking for a way to avoid the massive amount of copy/pasting this will entail...
Oct
14
accepted Switch between proxy_pass and uwsgi_pass based on cookie?
Oct
14
comment Switch between proxy_pass and uwsgi_pass based on cookie?
Also, would I need to duplicate the innards of location / inside location ~ "^/my/complicated/regex$" with this solution?
Oct
14
comment Switch between proxy_pass and uwsgi_pass based on cookie?
Haha! 418 I'M A TEAPOT status... might use this solution just for that. ;)
Oct
14
comment Switch between proxy_pass and uwsgi_pass based on cookie?
@womble I'm after a temporary solution: I'm in the process of carving a monolithic app into smaller, stand-alone apps. Problem is that nginx & uwsgi exist on one EC2 instance, but the external host is on Heroku. Until I can transition the code wholesale, I need to be able to get by with tom foolery like this and not (seriously) break the existing app. Do you have an example of how to do this with maps?
Oct
14
asked Switch between proxy_pass and uwsgi_pass based on cookie?
Jun
3
awarded  Popular Question
Apr
17
awarded  Popular Question
Oct
17
awarded  Popular Question
Oct
1
awarded  Popular Question
Sep
13
awarded  Nice Question
Jul
29
awarded  Popular Question
Jul
7
awarded  Popular Question
Jul
2
awarded  Curious
May
27
awarded  Popular Question
Mar
21
awarded  Famous Question
Nov
19
awarded  Popular Question
Aug
2
awarded  Notable Question