diff options
author | polwex <polwex@sortug.com> | 2025-05-08 20:14:37 +0700 |
---|---|---|
committer | polwex <polwex@sortug.com> | 2025-05-08 20:14:37 +0700 |
commit | 3efdd55d5cc2e784c6934e9d133f16844c324aad (patch) | |
tree | b901eda1a717f183eeeca297b54312e68a07e1c9 /hosts/cloud/bkk | |
parent | 6dcb4af2623174c4c52202c7ea064f40a35091ed (diff) |
m
Diffstat (limited to 'hosts/cloud/bkk')
-rw-r--r-- | hosts/cloud/bkk/nginx.nix | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/hosts/cloud/bkk/nginx.nix b/hosts/cloud/bkk/nginx.nix index 3314674..7de02ee 100644 --- a/hosts/cloud/bkk/nginx.nix +++ b/hosts/cloud/bkk/nginx.nix @@ -85,23 +85,23 @@ proxy_cache off; ''; }; - # virtualHosts."t.urbit.men" = { - # enableACME = true; - # forceSSL = true; - # locations."/" = { - # proxyPass = "http://127.0.0.1:8081"; - # # proxyWebsockets = true; # needed if you need to use WebSocket - # extraConfig = '' - # proxy_set_header Host $host; - # proxy_set_header Forwarded $proxy_add_x_forwarded_for; - # ''; - # }; - # extraConfig = '' - # chunked_transfer_encoding off; - # proxy_http_version 1.1; - # proxy_buffering off; - # proxy_cache off; - # ''; - # }; + virtualHosts."t.urbit.men" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:3000"; + # proxyWebsockets = true; # needed if you need to use WebSocket + extraConfig = '' + proxy_set_header Host $host; + proxy_set_header Forwarded $proxy_add_x_forwarded_for; + ''; + }; + extraConfig = '' + chunked_transfer_encoding off; + proxy_http_version 1.1; + proxy_buffering off; + proxy_cache off; + ''; + }; }; } |