src.nth.io/

summaryrefslogtreecommitdiff
path: root/oragono/templates
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-07-05 10:25:32 -0500
committerLuke Hoersten <[email protected]>2020-07-05 10:25:32 -0500
commitd67fdf8ed71f6927a00cf6bc812777091e5a026d (patch)
tree65c745a68f570fa1f312123187f57cdb64c42bdf /oragono/templates
parent79880c1df8fd49110486051df059f259a1a7d08f (diff)
Added nginx and oragono HUP reloading to systemd handlers. Added nginx config.
Diffstat (limited to 'oragono/templates')
-rw-r--r--oragono/templates/nginx.conf.j27
-rw-r--r--oragono/templates/oragono.yaml.j24
2 files changed, 9 insertions, 2 deletions
diff --git a/oragono/templates/nginx.conf.j2 b/oragono/templates/nginx.conf.j2
new file mode 100644
index 0000000..38719ec
--- /dev/null
+++ b/oragono/templates/nginx.conf.j2
@@ -0,0 +1,7 @@
+server {
+ listen 6697 ssl;
+ proxy_pass unix:/run/oragono/socket;
+
+ ssl_certificate {{nginx_ssl_cert}};
+ ssl_certificate_key {{nginx_ssl_privkey}};
+}
diff --git a/oragono/templates/oragono.yaml.j2 b/oragono/templates/oragono.yaml.j2
index 2e5a1cf..5344683 100644
--- a/oragono/templates/oragono.yaml.j2
+++ b/oragono/templates/oragono.yaml.j2
@@ -288,7 +288,7 @@ server:
# oragono will write files to disk under certain circumstances, e.g.,
# CPU profiling or data export. by default, these files will be written
# to the working directory. set this to customize:
- # output-path: "/home/oragono/out"
+ output-path: "/var/oragono"
# account options
accounts:
@@ -606,7 +606,7 @@ opers:
whois-line: "server admin"
# custom hostname
- vhost: "ops.{{oragono_network_name}}"
+ vhost: "opr.{{oragono_network_name}}"
# modes are the modes to auto-set upon opering-up
modes: +is acjknoqtuxv