ergo/templates/nginx.conf.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 06 Nov 2022 18:23:19 -0600
changeset 200 10051617d075
parent 170 a20a6d03747f
child 201 e209c4dc5280
permissions -rw-r--r--
Fixed proxy pass.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
118
56bffa9ef826 Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
server {
56bffa9ef826 Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
      listen 6697 ssl;
200
10051617d075 Fixed proxy pass.
Luke Hoersten <luke@hoersten.org>
parents: 170
diff changeset
     3
10051617d075 Fixed proxy pass.
Luke Hoersten <luke@hoersten.org>
parents: 170
diff changeset
     4
      set $upstream unix:/var/ergo/socket;
10051617d075 Fixed proxy pass.
Luke Hoersten <luke@hoersten.org>
parents: 170
diff changeset
     5
      proxy_pass $upstream;
10051617d075 Fixed proxy pass.
Luke Hoersten <luke@hoersten.org>
parents: 170
diff changeset
     6
124
870c04ac783b Fixed proxy pass for stream.
Luke Hoersten <luke@hoersten.org>
parents: 118
diff changeset
     7
      proxy_protocol on;
118
56bffa9ef826 Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
56bffa9ef826 Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
      ssl_certificate {{nginx_ssl_cert}};
56bffa9ef826 Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
      ssl_certificate_key {{nginx_ssl_privkey}};
56bffa9ef826 Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
}