After creating the configuration file, you need to create a symbolic link to the directory
/etc/ibatyr-nginx/sites-enabled/ to activate it. For example, for a configuration file
example.com this can be done using the command:
ln -s /etc/ibatyr-nginx/sites-available/example.com /etc/ibatyr-nginx/sites-enabled/example.com
Next, you need to check the correctness of the syntax of the changes entered into the configuration with the command:
ibatyr-nginx test
If the response does not contain errors, you can apply the configuration. It is worth noting that this method of reloading the NGINX configuration does not lead to interruption of current connections and can be used on nodes already operating in a production environment.
ibatyr-nginx reload