HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Tips/Tricks/Mods (http://www.howtoforge.com/forums/forumdisplay.php?f=29)
-   -   own nginx.vhost plugin (http://www.howtoforge.com/forums/showthread.php?t=57736)

simplyit 25th June 2012 22:36

own nginx.vhost plugin
 
Hi, I need to write a few lines in php to create own nginx proxy vhosts, but I don't know how to start and how to plug it into ispconfig can anybody help me a bit, or tell whre and how to connect scripts?

I need to make simple vhosts based on nginx vhost, nginx proxy plugin does not work so I need to make my life easier and make spare vhost autimatically

till 27th June 2012 10:17

ISPConfig is event based, so you can attach as many plugins to a event like the website insert event as you like. Please take a look at the existing nginx and apache plugin to see how the event binding works. To activate a plugin, create a symlink in the plugins-enabled folder that points to your plugin file in the plugins-available folder.


All times are GMT +2. The time now is 05:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.