diff options
Diffstat (limited to 'host/Rory-nginx/services/nginx/rory.boo')
-rwxr-xr-x | host/Rory-nginx/services/nginx/rory.boo/tunnel.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/host/Rory-nginx/services/nginx/rory.boo/tunnel.nix b/host/Rory-nginx/services/nginx/rory.boo/tunnel.nix new file mode 100755 index 0000000..b50823b --- /dev/null +++ b/host/Rory-nginx/services/nginx/rory.boo/tunnel.nix @@ -0,0 +1,14 @@ +{ + enableACME = true; + addSSL = true; + locations = { + "/" = { + proxyPass = "http://127.0.0.1:5173"; + proxyWebsockets = true; + extraConfig = + "proxy_ssl_server_name on;" + + "proxy_pass_header Authorization;" + ; + }; + }; +} |