To include custom configuration directives for all VirtualHosts of a subscription, create a file at
Apache: /var/www/<subscription>/conf/httpd.conf
NGINX: /var/www/<subscription>/conf/nginx.conf
For domain-specific options, create a file at
Apache: /var/www/<subscription>/conf/<domain>.httpd.conf
NGINX: /var/www/<subscription>/conf/<domain>.nginx.conf
Then update the subscription in LiveConfig (e.g. save any setting) so that the configuration is updated at the server. The above-mentioned configuration files are now included.
Caution
These configuration files must be owned by root:root
and should have mode 0750
- otherwise the user would be able to modify any server setting!
You have two options for including your own instructions in the ProFTPD configuration:
create a file /etc/proftpd/proftpd.local.conf
, or
if the directory /etc/proftpd/conf.d/
exists, create your own configuration file (s) in it. These must end with the file extension .conf
.
Then click on the button Reconfigure in the ProFTPD administration in LiveConfig. LiveConfig then updates proftpd.conf
and includes the above-mentioned files using an include instruction.