Clarification: Does Heroku Run Python Apps Behind Nginx or Not?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Flying Over Ancient Lands
--
Chapters
00:00 Question
01:58 Accepted answer (Score 5)
02:41 Thank you
--
Full question
https://stackoverflow.com/questions/1281...
Question links:
https://devcenter.heroku.com/articles/py...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #heroku #nginx
#avk47
    --
Music by Eric Matyas
https://www.soundimage.org
Track title: Flying Over Ancient Lands
--
Chapters
00:00 Question
01:58 Accepted answer (Score 5)
02:41 Thank you
--
Full question
https://stackoverflow.com/questions/1281...
Question links:
https://devcenter.heroku.com/articles/py...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #heroku #nginx
#avk47
ACCEPTED ANSWER
Score 5
Heard back from Heroku Support:
We do not recommend trying to add nginx to your stack, nor does Heroku provide that layer. But you are correct that if you wish to gzip responses, your application must gzip the responses - this is often handled in application framework (e.g. Ruby's Rack) as a middleware layer. gzip is extremely fast and this should not add any significant latency to your requests.
This confirms that you do not need to run Nginx for its reverse proxy feature on Heroku.