+10

Vhost template files

JONIK NSK 10 ár síðan updated by flks 10 ár síðan 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.
I agree! Can't modify settings on the nginx.conf & co otherwise :(