nginx with boringssl
Jan 27, 2019
build with boringssl enable TLS 1.3 enable 0-RTT Install & Run mount log dir to /opt/nginx/log config dir to /opt/nginx/etc web root to /opt/www docker pull cntrump/ubuntu_nginx_boringssl docker run -v /opt/nginx/etc:/etc/nginx -v /opt/nginx/log:/var/log/nginx -v /opt/www:/var/www -v /opt/nginx/cache:/var/cache/nginx -p 80:80 -p 443:443 -d cntrump/ubuntu_nginx_boringssl /usr/sbin/nginx -g "daemon off;" Using docker-compose docker-compose.yml
version:'3'services:nginx:image:'cntrump/ubuntu_nginx_boringssl'volumes:- /opt/nginx/etc:/etc/nginx- /opt/nginx/log:/var/log/nginx- /opt/nginx/cache:/var/cache/nginx- /opt/www:/var/wwwports:- '80:80'- '443:443'command:/usr/sbin/nginx -g "daemon off;"deploy:restart_policy:condition:on-failuredelay:5smax_attempts:3window:120sdocker-compose start/stop/restart nginx Example nginx.conf A+ configuration for https://myssl.…