Skip to content

Instantly share code, notes, and snippets.

@beledouxdenis
Created January 6, 2020 10:37
Show Gist options
  • Save beledouxdenis/f3b10f464a7d007b8104342d281cc8c6 to your computer and use it in GitHub Desktop.
Save beledouxdenis/f3b10f464a7d007b8104342d281cc8c6 to your computer and use it in GitHub Desktop.
Proxy pass to test nginx worker_connections
server {
include /etc/nginx/proxy.conf;
listen 80;
listen 443 ssl;
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
server_name test_nginx;
location / {
proxy_pass http://127.0.0.1:8000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment