dtkoe
January 15, 2023, 8:56pm
1
This is good, but suddenly the client has only one domain out of 1000 will be illegal, and the rest will work as it should. First, block everything…
Maybe you can consider a feature so that if a person with admin rights blocks, it would be impossible to unlock it?
dtkoe
January 15, 2023, 9:05pm
3
This is good, but suddenly the client has only one domain out of 1000 will be illegal, and the rest will work as it should. First, block everything…
Maybe you can consider a feature so that if a person with admin rights blocks, it would be impossible to unlock it?
ScIT
January 15, 2023, 9:11pm
4
Why repeating with the same content? You can suspend a single domain aswell.
dtkoe
January 15, 2023, 9:21pm
5
The point of the post was that by blocking only the domain, the user himself can unblock it without any difficulty.
I accidentally edited my post instead of sending an answer to eris, so I got two posts and the real topic disappeared)
eris
January 15, 2023, 9:26pm
6
So what I don’t want that user on my server at all…
You can have one user per domain and suspend users.
dtkoe
January 16, 2023, 10:22am
8
I solved the problem like this: I made a cron to block the desired domain every minute from the admin. Even if the user unlocks, everything will be blocked again in a minute)
I am not sure about this and I don’t have the time to check right now BUT I think that the suspension of an user could restart the Nginx server.
I don’t think it is healthy to have the services restart every minute.
If you haven’t thought about this already, try to see if you can only suspend the domain if it has been unsuspended.
eris
January 16, 2023, 10:31am
10
If the domain is allready suspended it should not resuspend.
But even then block the user and tell him to move…
dtkoe
January 16, 2023, 10:42am
11
apache + exim is rebooting, thanks for the tip
dtkoe
January 16, 2023, 10:42am
12
Apparently you will have to do this :)))
eris
January 16, 2023, 11:07am
13
It is true a user can unsuspend his own web domains.
If we don’t want allow it we want to change that for 1 user we need to rewrite the right system. I am not willing to do that at the current moment.
What will held the user from deleting the existing domain and add it as www.domain.com or what ever?
If you want to change it:
Donate 10k dollar to HestiaCP so we can work on it or switch to a different panel…
Easy as is
1 Like
system
Closed
February 15, 2023, 11:08am
14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.