Created
February 15, 2021 20:47
-
-
Save onefoursix/e322a781602865882f66f1ac78e45ed9 to your computer and use it in GitHub Desktop.
ngnix.conf for single instance Control Hub
This file contains hidden or 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
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
server { | |
listen 443 ssl; | |
server_name schlb.onefoursix.com; | |
ssl_certificate /root/certs/tls.crt; | |
ssl_certificate_key /root/certs/tls.key; | |
ssl_protocols TLSv1.2; | |
location / { | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_pass https://sch.onefoursix.com:18631/; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment