Sign inSign up

mssio/nginx

By mssio

•Updated over 10 years ago

Docker App for nginx reverse proxy.

Image
0

1.7K

mssio/nginx repository overview

Example of usage on hello world app:

app1:
  image: dockercloud/hello-world
app2:
  image: dockercloud/hello-world
web:
  image: mssio/nginx
  links:
    - app1:app1
    - app2:app2
  environment:
    - APP_COUNT=2
    - APP_PORT_1=80
    - APP_DOMAIN_1=web1.mss.io
    - APP_PORT_2=80
    - APP_DOMAIN_2=web2.mss.io
  ports:
    - 10099:80

Now the nginx will run on public port 10099.

Tag summary

Content type

Image

Digest

Size

52.9 MB

Last updated

over 10 years ago

docker pull mssio/nginx