summary refs log tree commit diff
path: root/host
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-26 03:34:30 +0100
committerRory& <root@rory.gay>2025-12-26 03:34:30 +0100
commit90da71c5e0a8f621928ee25f643439f40ddbd781 (patch)
treecce7cdd946695238c873337d14e91f80b6578080 /host
parentDesktop: tty font (diff)
downloadRory-Open-Architecture-90da71c5e0a8f621928ee25f643439f40ddbd781.tar.xz
Import Spacebar-nginx domains into Rory-ovh
Diffstat (limited to 'host')
-rw-r--r--host/Rory-ovh/services/nginx/fosscord.com/matrix.nix14
-rw-r--r--host/Rory-ovh/services/nginx/fosscord.com/root.nix16
-rw-r--r--host/Rory-ovh/services/nginx/spacebar.chat/grafana.nix14
-rw-r--r--host/Rory-ovh/services/nginx/spacebar.chat/mail.nix14
-rw-r--r--host/Rory-ovh/services/nginx/spacebar.chat/server/old/api.nix14
-rw-r--r--host/Rory-ovh/services/nginx/spacebar.chat/server/old/cdn.nix14
-rw-r--r--host/Rory-ovh/services/nginx/spacebar.chat/server/old/gateway.nix14
-rw-r--r--host/Rory-ovh/services/nginx/spacebar.chat/server/old/root.nix14
-rw-r--r--host/Rory-ovh/services/nginx/thearcanebrony.net/matrix.nix14
9 files changed, 128 insertions, 0 deletions
diff --git a/host/Rory-ovh/services/nginx/fosscord.com/matrix.nix b/host/Rory-ovh/services/nginx/fosscord.com/matrix.nix
new file mode 100644

index 0000000..14ccad5 --- /dev/null +++ b/host/Rory-ovh/services/nginx/fosscord.com/matrix.nix
@@ -0,0 +1,14 @@ +{ +# enableACME = true; +# addSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.1.200:8009"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +} diff --git a/host/Rory-ovh/services/nginx/fosscord.com/root.nix b/host/Rory-ovh/services/nginx/fosscord.com/root.nix new file mode 100644
index 0000000..7efa326 --- /dev/null +++ b/host/Rory-ovh/services/nginx/fosscord.com/root.nix
@@ -0,0 +1,16 @@ +{ lib, config }: { + locations = { + "/" = { + extraConfig = + '' + return 301 https://spacebar.chat$request_uri; + ''; + }; + ".well-known/matrix/server" = { + root = "/var/lib/matrix"; + }; + "^~ /.well-known/acme-challenge/" = { + root = "/var/lib/acme/acme-challenge"; + }; + }; +} diff --git a/host/Rory-ovh/services/nginx/spacebar.chat/grafana.nix b/host/Rory-ovh/services/nginx/spacebar.chat/grafana.nix new file mode 100644
index 0000000..d2b7207 --- /dev/null +++ b/host/Rory-ovh/services/nginx/spacebar.chat/grafana.nix
@@ -0,0 +1,14 @@ +{ + enableACME = true; + forceSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.1.99:3000"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +} diff --git a/host/Rory-ovh/services/nginx/spacebar.chat/mail.nix b/host/Rory-ovh/services/nginx/spacebar.chat/mail.nix new file mode 100644
index 0000000..3ca873d --- /dev/null +++ b/host/Rory-ovh/services/nginx/spacebar.chat/mail.nix
@@ -0,0 +1,14 @@ +{ + enableACME = true; + forceSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.1.3"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +} diff --git a/host/Rory-ovh/services/nginx/spacebar.chat/server/old/api.nix b/host/Rory-ovh/services/nginx/spacebar.chat/server/old/api.nix new file mode 100644
index 0000000..8b7df6d --- /dev/null +++ b/host/Rory-ovh/services/nginx/spacebar.chat/server/old/api.nix
@@ -0,0 +1,14 @@ +{ + enableACME = true; + forceSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.1.200:3001"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +} diff --git a/host/Rory-ovh/services/nginx/spacebar.chat/server/old/cdn.nix b/host/Rory-ovh/services/nginx/spacebar.chat/server/old/cdn.nix new file mode 100644
index 0000000..89958fe --- /dev/null +++ b/host/Rory-ovh/services/nginx/spacebar.chat/server/old/cdn.nix
@@ -0,0 +1,14 @@ +{ + enableACME = true; + forceSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.1.200:3003"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +} diff --git a/host/Rory-ovh/services/nginx/spacebar.chat/server/old/gateway.nix b/host/Rory-ovh/services/nginx/spacebar.chat/server/old/gateway.nix new file mode 100644
index 0000000..ff95a5e --- /dev/null +++ b/host/Rory-ovh/services/nginx/spacebar.chat/server/old/gateway.nix
@@ -0,0 +1,14 @@ +{ + enableACME = true; + forceSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.1.200:3002"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +} diff --git a/host/Rory-ovh/services/nginx/spacebar.chat/server/old/root.nix b/host/Rory-ovh/services/nginx/spacebar.chat/server/old/root.nix new file mode 100644
index 0000000..8b7df6d --- /dev/null +++ b/host/Rory-ovh/services/nginx/spacebar.chat/server/old/root.nix
@@ -0,0 +1,14 @@ +{ + enableACME = true; + forceSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.1.200:3001"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +} diff --git a/host/Rory-ovh/services/nginx/thearcanebrony.net/matrix.nix b/host/Rory-ovh/services/nginx/thearcanebrony.net/matrix.nix new file mode 100644
index 0000000..d2b7606 --- /dev/null +++ b/host/Rory-ovh/services/nginx/thearcanebrony.net/matrix.nix
@@ -0,0 +1,14 @@ +{ + enableACME = true; + addSSL = true; + locations = { + "/" = { + proxyPass = "http://192.168.1.200:8008"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +}