I've looked for ways to configure flask apps to use a configure variable as the application prefix
but none have panned out
I might just have to hack the url_for method
Kyle Wilcox
@kwilcox
yeah
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