Created
January 6, 2020 10:37
-
-
Save beledouxdenis/f3b10f464a7d007b8104342d281cc8c6 to your computer and use it in GitHub Desktop.
Proxy pass to test nginx worker_connections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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