I am using rstudio server pro that has a feature to put the server offline for maintenance.
My server url is like this!: https://rstudio-server.mycompany.com and I work with a cluster.
When I do
rstudio-server offline, I should get a page like this whe trying to connect:
My problem is that I do not get this page for all url endpoints. For some I get
https://rstudio-server.mycompany.com/ => 502 bad Gateway
https://rstudio-server.mycompany.com/health-check => Offline page
https://rstudio-server.mycompany.com/auth-sign-in => Offline page
https://rstudio-server.mycompany.com/admin => 502 bad gateway
https://rstudio-server.mycompany.com/home=> 502 bad gateway
All the users connect to https://rstudio-server.mycompany.com/ . I would have expected to get the offline page on this url too.
Is this intended ? Is there something I did not do correctly in my server conf for nginx to work ?