Forwarding for 25jinightcord.de

main
Ashelyn Rose 4 months ago
parent 4b7e59953d
commit f83e5b6900
No known key found for this signature in database
GPG Key ID: D1980B8C6F349BC1

@ -1,5 +1,5 @@
{ config, pkgs, ...}: { { config, pkgs, ...}: let
services.nginx.virtualHosts."phantomthieves.net" = { meleteWithWebsockets = {
locations."/" = { locations."/" = {
proxyPass = "https://melete.tempest.dev/"; proxyPass = "https://melete.tempest.dev/";
extraConfig = '' extraConfig = ''
@ -10,41 +10,18 @@
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
}; };
in {
services.nginx.virtualHosts."forum.phantomthieves.net" = {
locations."/" = {
proxyPass = "https://melete.tempest.dev/";
extraConfig = ''
proxy_set_header Host $host;
'';
};
forceSSL = true;
enableACME = true;
};
services.nginx.virtualHosts."necronomicon.social" = { services.nginx.virtualHosts."phantomthieves.net" = meleteWithWebsockets;
locations."/" = { services.nginx.virtualHosts."forum.phantomthieves.net" = meleteWithWebsockets;
proxyPass = "https://melete.tempest.dev/"; services.nginx.virtualHosts."necronomicon.social" = meleteWithWebsockets;
extraConfig = '' services.nginx.virtualHosts."elk.tempest.dev" = meleteWithWebsockets;
proxy_set_header Host $host; services.nginx.virtualHosts."m.phantomthieves.net" = meleteWithWebsockets;
''; services.nginx.virtualHosts."social.25jinightcord.de" = meleteWithWebsockets;
proxyWebsockets = true;
};
forceSSL = true;
enableACME = true;
};
services.nginx.virtualHosts."elk.tempest.dev" = { services.nginx.virtualHosts."25jinightcord.de" = {
locations."/" = { locations."/.well-known/" = {
proxyPass = "http://melete.tempest.local:5314";
proxyWebsockets = true;
};
forceSSL = true;
enableACME = true;
};
services.nginx.virtualHosts."m.phantomthieves.net" = {
locations."/" = {
proxyPass = "https://melete.tempest.dev/"; proxyPass = "https://melete.tempest.dev/";
extraConfig = '' extraConfig = ''
proxy_set_header Host $host; proxy_set_header Host $host;

Loading…
Cancel
Save