Copied to clipboard

Flag this post as spam?

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


  • Euan Rae 102 posts 130 karma points
    3 days ago
    Euan Rae
    0

    Umbraco 8 Load Balancing - Disabling CMS access on Slave Servers

    Hi,

    Situation; we have a multi-server environment in which we want to make the Umbraco back office inaccessible on the Front End servers.

    We are achieving this by deploying a package on the front end servers that doesn't have the 'Umbraco' folder, so going to https://www.[publicdomain].com/umbraco just returns a 404. This is a bit clunky but it works.

    The other option is to set rules through the load balancer ( or redirect ruls), however this has some complexities to do with Umbraco routing, e.g. Ajax requests to surface controllers, e.g. /umbraco/Surface/....., so you can create rules, but you need exclusions as well

    Is there a way you can disable/hide Umbraco back office access through config?

    If a server is set to be a slave it seems that disabling Umbraco on these nodes is the logic outcome, but this doesn't appear to be case.

    Any help is greatly appreciated.

    Thanks, Euan

  • Ismail Mayat 4377 posts 9504 karma points MVP 2x admin c-trib
    1 day ago
  • Euan Rae 102 posts 130 karma points
    1 day ago
    Euan Rae
    0

    Thanks Ismail; I've done similar things in the past and this looks to do the job; I was just hoping there was simpler way to do it in code.

    I think I'll put in a feature request and see how much uptake it gets.

    Euan

Please Sign in or register to post replies

Write your reply to:

Draft