-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question: how much this is stable? #1
Comments
Hey and sorry for the late response! I guess I am not very good at writing documentation. I will improve on this and outline what it does and how to use it more as soon as I get some more free time. You should test it out, let me know if there is any problems or additions you feel would be necessary. |
Thank you for your reply. 😄 What do you think I have to do to migrate from the Real-Gecko's to your module? your module will read the nginx and php-fpm configuration as it is or it is going to look in particular directories? |
Hey to be honest, I have not added modules when virtual hosts have already been created. But I believe it would be relatively simple and should pickup your current virtual host files you have installed with nginx. If it doesn't automatically discover your virtual hosts, its probably because a file within etc->webmin->virtualmin-nginx is missing. Which should be named "domain-name".acl Replace domain name with your hosts domain name that you used to create the virtual server. The contents of the file should look like this
Don't add the public_html part to the root just the home dir for the domain. Backup your old MOD, then if this one doesn't do as you please, you can simply restore the old mod files.. Other than that everything should be okay.. Any problems give us a shout! Thanks. |
if that's it... it's enough to create a script which reads the current managed domain names and user directories...and auto writes those files with the proper content inside the directory |
and then... you can set options eg. 1) Use Nginx for all your domains? Yes, No 2) Use Nginx for domains listed (with textfield where you insert your domains or checkboxes which read all the domains and you can select what you want...) this is a way to do it... |
@7starsone Yeah that's a great idea, but the previous mod he had installed also should have an ACL, which is what it says it is... This allows the user of the domain to modify their nginx configuration for that domain name if the controls are enabled within virtualmin. Stops someone who has an account in virtualmin from logging in and modifying someone else nginx hosts settings. I will need to look into this. To see exactly what could be missing if using another mod. Currently I only added it to make new virtual hosts and restore/backup hosts. But I do believe everything should transition over properly. |
I'm asking this because at the moment I'm using this:
https://github.com/Real-Gecko/virtualmin-nginx-fpm/
but it have some issues.
is this stable?
can you upload a little of documentation or simply some more info about it?
The text was updated successfully, but these errors were encountered: