Update README.md

Updated section on using nginx proxy - 
> container nginx .conf location was incorrect.
> container nginx port mapping was incorrect
The changes were made to work with existing transmission container
This commit is contained in:
Adam Pyle 2015-05-18 21:56:17 +10:00
parent a43f60506f
commit 1f6bfb10e6

View File

@ -92,7 +92,7 @@ This is because the VPN is active, and since docker is running in a different ip
There are several ways to fix this. You can pipe and do fancy iptables or ip route configurations on the host and in the Docker image. But I found that the simplest solution is just to proxy my traffic. Start a Nginx container like this:
```
$ docker run -d -v /path/to/nginx.conf:/etc/nginx.conf:ro -p 8080:80 nginx
$ docker run -d -v /path/to/nginx.conf:/etc/nginx/nginx.conf:ro -p 8080:8080 nginx
```
Where /path/to/nginx.conf has this content: