Sign inSign up

cheng3969/nginx_for_v2ray

By cheng3969

•Updated over 3 years ago

Image
0

37

cheng3969/nginx_for_v2ray repository overview

  • -d: Runs the container in detached mode.
  • --name nginx_for_v2ray: Assigns the name "nginx_for_v2ray" to the container.
  • -v /etc/nginx/sites-available/default:/etc/nginx/sites-available/default: Mounts the default Nginx configuration file from the host machine to the container.
  • -v /etc/letsencrypt:/etc/letsencrypt: Mounts the Let's Encrypt SSL/TLS certificates from the host machine to the container.
  • -p 80:80: Exposes port 80 on the container to the host machine.
  • -p 443:443: Exposes port 443 on the container to the host machine.
  • --network my-network: Connects the container to the same network as the V2Ray container.
  • cheng3969/nginx_for_v2ray:1.0: Specifies the image to use for the container.
  • bin/bash -c "nginx -g 'daemon off;'": Starts the Nginx server with the command "nginx -g 'daemon off;'" to keep the container running in detached mode.

Tag summary

Content type

Image

Digest

sha256:da0c97ed0…

Size

79.1 MB

Last updated

over 3 years ago

docker pull cheng3969/nginx_for_v2ray:1.0