forward direct instead of over tailscale

main
Ashelyn Dawn 4 months ago
parent 05061eeedc
commit 7137bf859b
No known key found for this signature in database
GPG Key ID: D1980B8C6F349BC1

@ -1,7 +1,10 @@
{ config, pkgs, ...}: {
services.nginx.virtualHosts."phantomthieves.net" = {
locations."/" = {
proxyPass = "http://necronomicon.tempest.local:4000";
proxyPass = "https://melete.tempest.dev/";
extraConfig = ''
proxy_set_header Host $host;
'';
proxyWebsockets = true;
};
forceSSL = true;
@ -9,7 +12,12 @@
};
services.nginx.virtualHosts."forum.phantomthieves.net" = {
locations."/" = { proxyPass = "http://melete.tempest.local:8999"; };
locations."/" = {
proxyPass = "https://melete.tempest.dev/";
extraConfig = ''
proxy_set_header Host $host;
'';
};
forceSSL = true;
enableACME = true;
};

Loading…
Cancel
Save