mirror of
https://github.com/linuxserver/docker-nginx.git
synced 2026-02-13 05:49:00 +08:00
add extra parameters info
This commit is contained in:
parent
668427717a
commit
dac6cf4ae2
@ -31,7 +31,13 @@ docker create \
|
||||
linuxserver/nginx
|
||||
```
|
||||
|
||||
**Parameters**
|
||||
## Parameters
|
||||
|
||||
`The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side.
|
||||
For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container.
|
||||
So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080
|
||||
http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.`
|
||||
|
||||
|
||||
* `-p 80` - The web-services.
|
||||
* `-p 443` - The SSL-Based Webservice
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user