Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 12 2015 14:01
    sup homies
Kyle Wilcox
@kwilcox
uWSGI supports this if you want to run through that
Luke Campbell
@lukecampbell
how do you like it?
We're using gunicorn for now
Kyle Wilcox
@kwilcox
i remember some configuration possible which almost made me swtich from gunicorn
Ive never used it
Luke Campbell
@lukecampbell
hmm...
might be worth a shot
oh well, I may just fork werkzeug to fix it
Kyle Wilcox
@kwilcox
yeah that seems like the easy route
Luke Campbell
@lukecampbell
and derrick wants it by the end of the day
Kyle Wilcox
@kwilcox
:bomb:
Luke Campbell
@lukecampbell
... so there's that
Well let me rephrase, derrick wants it soon, Kelly wants it done cob
anyway so if I fix flask and find a way to fix thredds
the subdomain reverse proxy should work through nginx
just replace localhost with the subdomain
right?
Kyle Wilcox
@kwilcox
yeah
Luke Campbell
@lukecampbell
"theoretically"
ok, god I hope this works
Luke Campbell
@lukecampbell
by the way, docker is awesome
ansible+docker = win
Dave Foster
@daf
how are you using the two together
Luke Campbell
@lukecampbell
ansible sets up docker
pretty much
OOI uses it the most actually
spin up a host on aws, use ansible to install dependencies and docker
deploy docker images on host
then use ansible to set up nginx
and iptables
Dave Foster
@daf
nice
i had tried using ansible inside of a docker image to set up the image itself, but it was so opaque and didn't take advantage of docker's caching at all
can save you a lot of time if you use aws
Dave Foster
@daf
we don't, but thanks
and we use ansible a lot too :)
Kyle Wilcox
@kwilcox
This message was deleted
Luke Campbell
@lukecampbell
so, I think this will work for flask applications
I didn't have to modify werkzeug
just make a new route method
this only works for things defined with the decorators, urls made from blueprints or anything else won't work this way
but for glider-dac, at least, it's a start
Kyle Wilcox
@kwilcox
nice
Luke Campbell
@lukecampbell
I take it all back
tested, it works
so that way you can have N number of reverse proxies all with their own prefixes
and it will work just fine
which is what I really need for that subdomain proxying