Charles Offenbacher
Charles Offenbacher

Reputation: 3132

Azure websites web.config not updating

I see this in my web.config when I access via FTP (and this certainly seems to be the behavior of the server).

<appSettings>
    <add key="pythonpath" value="D:\home\site\wwwroot" />
    <add key="WSGI_HANDLER" value="django.core.handlers.wsgi.WSGIHandler()" />
    <add key="DJANGO_SETTINGS_MODULE" value="DjangoApplication.settings" />   
</appSettings>

However, my configuration in the Azure control panel is as follows

Azure control panel settings

Why don't they match? I have restarted the app many times, and had multiple deployments (via Github hook) that haven't seemed to help. There is also some random DjangoApplication folder present that is not part of my deployment.

Upvotes: 3

Views: 4084

Answers (1)

cory-fowler
cory-fowler

Reputation: 4088

The Portal App Settings supersede the Web.config appSettings. These will not be in sync unless you manually or script to update the Portal settings based on your web.config settings.

Upvotes: 2

Related Questions