README.md in vagrant-reverse-proxy-0.3.0 vs README.md in vagrant-reverse-proxy-0.3.1
- old
+ new
@@ -76,9 +76,15 @@
If you want to change the location of the managed nginx configuration file, set the `config.reverse_proxy.nginx_config_file` value to a path on your host machine in the Vagrantfile configuration:
config.reverse_proxy.nginx_config_file = '/usr/local/etc/nginx/vagrant-proxy-config'
+### Specifying the NGINX reload command
+
+After the NGINX configuration file is generated, a reload command is executed so that the changes take effect. By default the command executed is `sudo nginx -s reload`. If you need to change this, set the `config.reverse_proxy.nginx_reload_command` option to the command to be executed:
+
+ config.reverse_proxy.nginx_reload_command = 'sudo service nginx reload'
+
## Adding proxy support to your application
This plugin will instruct NGINX to pass the following headers to your
Vagrant box: