+10

Vhost template files

JONIK NSK 10 year бұрын updated by flks 10 year бұрын 1
Currently vhosts template is hardcoded into plugin python source code... I suggest create vhost template files for customizing settings by default. Behavior:

1. User create new web-site.
2. Panel look file /etc/ajenti/templates/vh-nginx.tpl (for example)
3. If file exists - uses it as a template for vhost
4. Else uses hardcoded template.