Hi Lawrence, The Azure App Service is meant to take over everything but the app itself, so running it with an nginx container is not necessary. I used the App Service for a short while and only could get it to work when using the single container approach.
That being said, I found the App Service to be extremely slow (and expensive), so I am eager to hear your experiences with it. For me it did help to set up Azure CDN to serve static files. Roughly: 1. Set up an Azure Blob Storage account 2. Configure Django to use the azure-storage package (https://django-storages.readthedocs.io/en/latest/backends/azure.html -> don't do the static files steps) 3. Set up Azure CDN with the storage account from step 1 as origin. 4. Set `STATIC_URL` in settings.py to the CDN endpoint. I hope this helps and please share your experiences with us :) Vincent On Tuesday, 9 October 2018 04:19:42 UTC+2, Lawrence Goh wrote: > > Hi! I am trying to set up the Arches Project on Azure using its Web App > for Containers. But I hit a roadblock where I will get a '400 Bad Request' > when browsing it. I see the Azure logs are displaying that the NGINX got > called when I triggered it on a browser. Hope to get some help on this. > Thanks. > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
