summary refs log tree commit diff
path: root/etc/relayd.conf
diff options
context:
space:
mode:
authorLain Iwakura <lain@lainmail.xyz>2025-12-30 02:51:33 +0300
committerLain Iwakura <lain@lainmail.xyz>2025-12-30 02:51:33 +0300
commitbe91068d9478c60c84ca3b0ce73dc50b810e8e13 (patch)
treefe234f49fd22f382ad525a55a789293e26b5f5e7 /etc/relayd.conf
parentfeat(git): new domain! (diff)
downloadinfra-be91068d9478c60c84ca3b0ce73dc50b810e8e13.tar.gz
infra-be91068d9478c60c84ca3b0ce73dc50b810e8e13.zip
feat(chat): new domain
Diffstat (limited to 'etc/relayd.conf')
-rw-r--r--etc/relayd.conf14
1 files changed, 8 insertions, 6 deletions
diff --git a/etc/relayd.conf b/etc/relayd.conf
index 46342c1..40f0298 100644
--- a/etc/relayd.conf
+++ b/etc/relayd.conf
@@ -1,7 +1,6 @@
 ip4="193.26.157.243"
 table <www> { 127.0.0.1 }
-table <wwwtext> { REPLACEME }
-table <wwwgit> { REPLACEME }
+table <home> { REPLACEME }
 
 log connection
 
@@ -14,10 +13,12 @@ http protocol https {
     tls { keypair iwakura.page }
     tls { keypair text.iwakura.page }
     tls { keypair git.iwakura.page }
+    tls { keypair chat.iwakura.page }
     match request header "Host" value "iwakura.page" forward to <www>
     match request header "Host" value "www.iwakura.page" forward to <www>
-    match request header "Host" value "text.iwakura.page" forward to <wwwtext>
-     match request header "Host" value "git.iwakura.page" forward to <wwwgit>
+    match request header "Host" value "text.iwakura.page" forward to <home>
+    match request header "Host" value "git.iwakura.page" forward to <home>
+    match request header "Host" value "chat.iwakura.page" forward to <www>
     match response header append "Strict-Transport-Security" value "max-age=31536000; includeSubDomains; preload"
     match response header append "Cache-Control" value "public, max-age=86400"
     match response header append "Content-Security-Policy" value "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; object-src 'none';"
@@ -32,6 +33,7 @@ relay wwwtls {
     listen on $ip4 port 443 tls
     protocol https
     forward to <www> port 8080 check tcp
-    forward to <wwwtext> port 8834 check tcp
-    forward to <wwwgit> port 8855 check tcp
+    forward to <www> port 7070 check tcp
+    forward to <home> port 8834 check tcp
+    forward to <home> port 8855 check tcp
 }
an>Choose B for tiles with equal modify timesJune McEnroe This way newer access counts and times will be preserved. 2017-08-31Add quick data file merge toolJune McEnroe Hopefully I won't have to use it ever again. 2017-08-30Use only foreground color for selecting spawnJune McEnroe 2017-08-29Add four additional spawnsJune McEnroe 2017-08-28Add respawningJune McEnroe 2017-08-26Move license above includesJune McEnroe Why was it down there? 2017-08-26Snapshot metadataJune McEnroe 2017-08-26Add meta.c to READMEJune McEnroe 2017-08-26Use MakefileJune McEnroe