Sign inSign up

altriabot/nginx

By altriabot

Updated 27 days ago

nginx with stream L4

Image
Web servers
1

3.6K

altriabot/nginx repository overview

添加了Stream模块实现SNI分流

如无必要,勿增实体 --奥卡姆剃刀原则

docker-compose 文件映射目录 http.conf.d 和stream.conf.d文件夹下放对应的conf即可

version: '3'
services:
  nginx:
   container_name: nginx
   image: altriabot/nginx
   restart: always
   network_mode: "host"
   volumes:
     - ~/nginx/conf.d:/etc/nginx/conf.d
     - ~/nginx/html:/etc/nginx/html
     - ~/nginx/logs:/var/log/nginx
     - ~/nginx/cert:/etc/nginx/cert
     - ~/nginx/nginx.conf:/etc/nginx/nginx.conf
  • 启动 docker compose up -d

Tag summary

Content type

Image

Digest

sha256:e457cefac

Size

11.5 MB

Last updated

27 days ago

docker pull altriabot/nginx