Clarification: Does Heroku Run Python Apps Behind Nginx or Not?
--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Magic Ocean Looping
--
Chapters
00:00 Clarification: Does Heroku Run Python Apps Behind Nginx Or Not?
01:29 Accepted Answer Score 5
02:04 Thank you
--
Full question
https://stackoverflow.com/questions/1281...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #heroku #nginx
#avk47
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Magic Ocean Looping
--
Chapters
00:00 Clarification: Does Heroku Run Python Apps Behind Nginx Or Not?
01:29 Accepted Answer Score 5
02:04 Thank you
--
Full question
https://stackoverflow.com/questions/1281...
--
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.