diff options
author | polwex <polwex@sortug.com> | 2024-07-21 01:49:04 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2024-07-21 01:49:04 +0700 |
commit | e64f7a78e01e5fa661471cb518cc71fc33223b5a (patch) | |
tree | 691c444cf66e2f9d1ee63e4589ed09ec502baa3b /hosts/cloud/oldsortug/nginx.nix | |
parent | 0816d59542658a62928050ef5f08e1460e554959 (diff) |
m
Diffstat (limited to 'hosts/cloud/oldsortug/nginx.nix')
-rw-r--r-- | hosts/cloud/oldsortug/nginx.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/hosts/cloud/oldsortug/nginx.nix b/hosts/cloud/oldsortug/nginx.nix deleted file mode 100644 index ba64539..0000000 --- a/hosts/cloud/oldsortug/nginx.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ ... }: { - - security.acme.acceptTerms = true; - security.acme.defaults.email = "security@sortug.com"; - users.users.y.homeMode = "750"; - services.nginx = { - enable = true; - virtualHosts."old.sortug.com" = { - enableACME = true; - forceSSL = true; - locations."/" = { - proxyPass = "http://127.0.0.1:9000"; - proxyWebsockets = true; # needed if you need to use WebSocket - extraConfig = '' - proxy_set_header Host $Host; - ''; - # actually important - }; - }; - }; -} |