README.md in vagrant-reverse-proxy-0.2.1 vs README.md in vagrant-reverse-proxy-0.3.0
- old
+ new
@@ -70,11 +70,16 @@
}
As you can see, this allows you to define which port to connect to
instead of the default port (which is port 80).
+### Specifying the NGINX configuration file path
+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'
+
## Adding proxy support to your application
This plugin will instruct NGINX to pass the following headers to your
Vagrant box:
@@ -96,5 +101,14 @@
[trusted proxies middleware](https://github.com/fideloper/TrustedProxy).
If you're using Symfony, just use `setTrustedProxies()` on your
`Request` object, and Symfony takes care of the rest. Note that
`X-Base-Url` is not supported by either framework, so you'll need to
add a bit of custom code there if you need to override the base URL.
+
+
+## Changelog
+
+- 0.3 Allow overriding the location of the NGINX configuration file
+ (thanks to Sam Stevens). Support multiple VMs in a single Vagrant
+ config (suggested by Nicholas Alipaz).
+- 0.2 Support for proxying of multiple ports in `vhosts` config.
+- 0.1 First version