Open nextcloudfan opened 2 years ago
Use robot.txt or .htaccess
Without Apache or Nginx installed? Where should I place it?
kuma itself does not support .htaccess
. I also doubt that this would work, since navigation is done on the client side
I have a similar use case: I want the push service to work from the internet, but the status page and dashboard should only be accessible from within my network. Has anyone found a workaround yet?
Use a reverseproxy (e.g. traefik) there you can filter external networks
(Easy solution: create a docker image with kuma+traefik)
@DunklerPhoenix Would it be possible for you to share you compose file? With every traefik configuration I tried, I only get a 404 page not found
error.
I Found a way here, not the best but for my needs works fine.
I have a need to make all my status page private. No need for alter database or other UI things just protect the pages with login.
Here is the code that renders the StatusPages.
Before that code add a simple modification for redirect to / when user is not logged_in.
if (!this.hasToken) this.$router.push("/");
Just fork the project, adjust, make the build and be happy.
Will it be possible to set a password on a status page?
Hey! Is there any chance to get this feature? I think it could be really interesting to share different status pages across different clients.
As stated above, you can add a password in front of the dashboard and the "api"-response in a reverse proxy.
Without user management, adding a password protection in front of a status page is sort of moot. => needs https://github.com/louislam/uptime-kuma/pull/3571 first
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ Feature Request Type
UI Feature
🔖 Feature description
Right now you can select which is the default view: Dashboard or Status Page My instance is accessible from the web and if I entder domain:port I will see the login screen to enter the Dashbooard => Fine.
But the status page is always accessible without any login.
Is it possible to add some settings, that users can also decide if the y want to makle their status page public or not? In my case I have only provate server and services which I dont want to see everybody
✔️ Solution
an option to define if the staus page is public or not=> e.g. status page visible only after login
❓ Alternatives
No response
📝 Additional Context
No response