When setting an app in maintenance mode, the server redirects to https://server.domain.com/maintenance - which in itself is probably the intention.
We don't use load balancing in front of the PSU server, so instead of using the redirection to detect maintenance, I've set up a published folder called "maintenance" with a request path of "/maintenance/" (not possible to set "/maintenance" without trailing slash). In that folder I have a default.html with information of the server being in maintenance mode.
The problem here is that the redirect does not add a trailing slash, so it never shows the default document. If I add the slash, it shows.
So the solution here would be to either redirect to "/maintenance/" (which would probably screw up a lot of setups) or allow to publish a folder without trailing slash. I have tried creating it both through GUI and in shell, setting default doc, etc.
Or am I missing something here?
Will be at PSConf.eu if anyone wants to meet up and do some PSU geeking.
@karsten It looks like we are missing that page. I just see a 404 when I do this. Was your goal just to fix that? Or were you looking to have a custom maintenance page? I'll make sure we fix the default maintenance page but I wanted to double check what you thought on the published folder behavior.
And I will be at PSConfEU! Let's chat.
Adam Driscoll
PowerShell Expert and Developer at Devolutions
@Adam Driscoll yes my goal was for the users not just to get a 404 and make a customised maintenance page in the process. And that could be fixed by loading the default.html regardless of trailing slash or not.
Thanks!
Will find you at the conf!