oragono/templates/nginx.conf.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 05 Sep 2020 19:27:02 -0500
changeset 137 645c1e109921
parent 124 870c04ac783b
permissions -rw-r--r--
Moved oragono socket to more persistent location.
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;
137
645c1e109921 Moved oragono socket to more persistent location.
Luke Hoersten <luke@hoersten.org>
parents: 124
diff changeset
     3
      proxy_pass unix:/var/oragono/oragono.socket;
124
870c04ac783b Fixed proxy pass for stream.
Luke Hoersten <luke@hoersten.org>
parents: 118
diff changeset
     4
      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
     5
56bffa9ef826 Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
      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
     7
      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
     8
}