Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nigel Cheung 2 posts 71 karma points
    Feb 16, 2024 @ 10:25
    Nigel Cheung
    0

    UmbracoApplicationUrl is not applied in Azure App Service environment

    Hi,

    I'm using latest Umbraco v13 on Azure App Service and it is behind Azure Front Door.

    I have set the UmbracoApplicationUrl in the config but it is not used when I access the CMS backend.

    appsettings.Production.json

       {
        "Umbraco": {
          "CMS": {
            "Runtime": {
              "Mode": "Production"
            },
            "Global": {
              "UseHttps": true
            },
            "ModelsBuilder": {
              "ModelsMode": "Nothing"
            },
            "WebRouting": {
              "UmbracoApplicationUrl": "https://example.com/"
            }
          }
        }
    }
    

    When I access https://example.com/umbraco, it redirects to https://example.azurewebsites.net/umbraco/login

    I can access with https://example.com/umbraco if it is not Production runtime and UseHttps is false.

    Any ideas how to solve it?

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft