Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image for Python 3.8? #51

Open
ttosch opened this issue Apr 5, 2020 · 2 comments
Open

Image for Python 3.8? #51

ttosch opened this issue Apr 5, 2020 · 2 comments

Comments

@ttosch
Copy link

ttosch commented Apr 5, 2020

Hi, I'm looking for the repo containing the default docker image for an Azure App Service on linux/python-3.8. Can anybody point me to the right location?

The reason I'm asking: I suspect that the python-3.8 image does not contain nginx anymore, and that the only way to serve static resources (js, css etc.) is to use a WSGI framework that can handle static resources. Would be so awesome if anybody could confirm or clarify this. I've done so much research without getting anywhere, and I'm a bit lost now...
Thank you so much!

@sspTest
Copy link

sspTest commented Apr 21, 2022

@ttosch : I have the same observation of nginx not being installed for linux/python-3.8 but the document https://docs.microsoft.com/en-us/azure/app-service/configure-language-python does mention gunicorn is run behind nginx to protect from DDoS attacks. Did you try/ find if latest linux container has this issue addressed?

@ttosch
Copy link
Author

ttosch commented Apr 22, 2022

@sspTest : I solved the problem for my django app by using the whitenoise module to deliver static content. For me, the solution was ok-ish since my app is not particularly high-scale and it doesn't hurt much that the static requests hit django.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@ttosch @sspTest and others