(Umbraco 10) How to disable backoffice access on frontend servers in a Load Balance configuration
Hi to all,
I would to configure a new website with load balancing with Umbraco 10.
I state that in the past I have already configured Umbraco websites (7 and 8) in load balancing and on frontend servers I removed the umbraco folder to disable access to the backoffice.
Now...I have been working with Umbraco 10 for relatively little time and I would like to understand how to do the same thing.
Thank you Laurin for the answer, but it feels more like a workaround rather than the solution.
I believe instead (but it may not be so) that we can set specific settings that allow umbraco to understand which is the Backoffice Server and which is the Frontend Server that does not have the backoffice (or is disabled/not accessible).
You could also use a URL rewrite instruction to block access to the URL as well.
It looks like in Version 10 there no way of changing /umbraco I was looking for a way to do it on a project I am working on and it seems like the Umbraco devs for some reason or other have decided not to allow this action.
(Umbraco 10) How to disable backoffice access on frontend servers in a Load Balance configuration
Hi to all,
I would to configure a new website with load balancing with Umbraco 10.
I state that in the past I have already configured Umbraco websites (7 and 8) in load balancing and on frontend servers I removed the umbraco folder to disable access to the backoffice.
Now...I have been working with Umbraco 10 for relatively little time and I would like to understand how to do the same thing.
I have read the official documentation(Umbraco in Load Balanced Environments), but I didn't found any info about it.
Can anyone give me informations about it?
Thank you in advance Adriano
We made the thing working with the robots.txt.
Thank you Laurin for the answer, but it feels more like a workaround rather than the solution.
I believe instead (but it may not be so) that we can set specific settings that allow umbraco to understand which is the Backoffice Server and which is the Frontend Server that does not have the backoffice (or is disabled/not accessible).
Adriano
You could also use a URL rewrite instruction to block access to the URL as well.
It looks like in Version 10 there no way of changing /umbraco I was looking for a way to do it on a project I am working on and it seems like the Umbraco devs for some reason or other have decided not to allow this action.
Thanks Darren, infact I have already thought of this solution if I don't find an official solution
Adriano
You can also disable the middleware for back office
Hi Yakov, I think that this is the right way.
Only for info...if I comment only the line 64 as you indicated, I can still access the backoffice.
If I comment only the line 70 instead (or if I comment both), I can't access the route "/umbraco".
Thank you very much...I'll do this in the new Load Balanced configuration.
Adriano
is working on a reply...