summaryrefslogtreecommitdiff
path: root/hosts/cloud/bkk/nginx.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/cloud/bkk/nginx.nix')
-rw-r--r--hosts/cloud/bkk/nginx.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/hosts/cloud/bkk/nginx.nix b/hosts/cloud/bkk/nginx.nix
index c73eaeb..03c13ce 100644
--- a/hosts/cloud/bkk/nginx.nix
+++ b/hosts/cloud/bkk/nginx.nix
@@ -25,6 +25,14 @@
proxy_cache off;
'';
};
+ virtualHosts."head.urbit.men" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/" = {
+ proxyPass = "http://127.0.0.1:8001";
+ proxyWebsockets = true; # needed if you need to use WebSocket
+ };
+ };
virtualHosts."m.urbit.men" = {
enableACME = true;
forceSSL = true;