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.

  • Alexander 35 posts 85 karma points
    Feb 04, 2025 @ 16:25
    Alexander
    0

    I have the same problem. The app is hosted in azure web app(linux) and the Umbraco:WebRouting:UmbracoApplicationUrl setting set to my custom domain. The custom domain is correctly configured in the web app and I can access my umbraco site using this URL. However, when I use content.Url(mode: UrlMode.Absolute), it generates URL with default azure domain, not my custom one.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies