own nginx.vhost plugin

Discussion in 'Tips/Tricks/Mods' started by simplyit, Jun 25, 2012.

  1. simplyit

    simplyit New Member

    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
     
  2. till

    till Super Moderator

    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.
     

Share This Page