Skip to Main Content

Nginx

Build nginx image

Docker build -t nginx:1.0.

nginx default nginx.conf configuration path

cat etc/nginx/nginx.conf
cat etc/nginx/conf.d/default.conf

Agent Jenkins

Configure ssl Certificates

  • nginx to see if http_ssl_module is installed
#Open nginx's sbin folder
cd /usr/local/nginx/sbin/nginx
#View whether to install
nginx -V

# If configure arguments: --with-http_ssl_module, installed (the next steps can skip and enter nginx.conf configuration)