Manual Modification of the NGINX Configuration

Since version 1.0.10, it is now possible to add custom configuration into the Nginx configuration. In previous version, all modification made to the NGINX configuration file were erased by the module.

Two files can be modified in the server:

/etc/nginx/pre_virtual_host.conf
/etc/nginx/post_virtual_host.conf

The “pre_virtual_host.conf” will be loaded just before including all the hosted site virtual host into NGINX and the “post_virtual_host.conf” will be loaded at the very end of the NGINX configuration files (after loading the server virtual host.

Sidebar