Skip to content

Instantly share code, notes, and snippets.

@onefoursix
Created February 15, 2021 20:47
Show Gist options
  • Save onefoursix/e322a781602865882f66f1ac78e45ed9 to your computer and use it in GitHub Desktop.
Save onefoursix/e322a781602865882f66f1ac78e45ed9 to your computer and use it in GitHub Desktop.
ngnix.conf for single instance Control Hub
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