We have a website hosted on Azure app services, which is using scale-out. The backend is on a separate app service as per the recommendations for flexible load balancing:
I am trying to implement 302 redirects so that users are redirected if they try to go to e.g:
www.frontendsite.com/umbraco
And are forced to the backend server instead for editing. I'm testing in our development environment, and trying to ensure that it doesn't interfere with e.g. surface controllers etc.
So I was wondering if anybody had a standard redirect to use in the web.config? This is what I have at the moment, which seems to cover most cases, I'm just worried there might be something I've missed (like a package/plugin URL)....
Any help gratefully received, as always! (I've read the MS article on Redirect rules and the "10 useful redirects" article, it just seems like this should be a standard thing as it must be quite common)?
Thanks Jeavon - it turned out (about 2 minutes after I'd posted mine) that I'd broken Forms as it wasn't negating /UmbracoForms/ so I'll give yours a go!
Standard Redirects for a master server?
Hi all,
We have a website hosted on Azure app services, which is using scale-out. The backend is on a separate app service as per the recommendations for flexible load balancing:
https://our.umbraco.com/documentation/getting-started/setup/server-setup/load-balancing/flexible
I am trying to implement 302 redirects so that users are redirected if they try to go to e.g:
www.frontendsite.com/umbraco
And are forced to the backend server instead for editing. I'm testing in our development environment, and trying to ensure that it doesn't interfere with e.g. surface controllers etc.
So I was wondering if anybody had a standard redirect to use in the web.config? This is what I have at the moment, which seems to cover most cases, I'm just worried there might be something I've missed (like a package/plugin URL)....
Any help gratefully received, as always! (I've read the MS article on Redirect rules and the "10 useful redirects" article, it just seems like this should be a standard thing as it must be quite common)?
Looks good to me!
You can compare with what I use (for v7):
Thanks Jeavon - it turned out (about 2 minutes after I'd posted mine) that I'd broken Forms as it wasn't negating /UmbracoForms/ so I'll give yours a go!
H5YR!
is working on a reply...