docs: update proxy section with correct env vars

Fixes #415
This commit is contained in:
Geoff Bourne
2019-11-23 14:08:16 -06:00
parent 5fa33c7813
commit 1c9bbee3b3
2 changed files with 2 additions and 20 deletions

View File

@@ -1038,11 +1038,9 @@ For some cases, if e.g. after removing mods, it could be necessary to startup mi
### HTTP Proxy
You may configure the use of an HTTP/HTTPS proxy by passing the proxy's URL via the `PROXY`
environment variable. In [the example compose file](docker-compose-proxied.yml) it references
a companion squid proxy by setting the equivalent of
You may configure the use of an HTTP/HTTPS proxy by passing the proxy's URL via the `HTTPS_PROXY` and `HTTP_PROXY` environment variables.
-e PROXY=proxy:3128
-e HTTPS_PROXY=proxy:3128
### Using "noconsole" option

View File

@@ -1,16 +0,0 @@
version: '3'
services:
mc:
# build: .
image: itzg/minecraft-server
ports:
- 25565:25565
environment:
EULA: "TRUE"
# TYPE: SPIGOT
# VERSION: 1.11.2
PROXY: proxy:3128
proxy:
image: sameersbn/squid