diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-08-18 03:23:21 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-08-18 03:23:21 +0200 |
commit | 00ced9c15a7ced5b754d24b919ad4d4e8dc8b1a9 (patch) | |
tree | bd6a69d78e4daa3f1d872a6ba64259ccde1cf878 /host/Rory-nginx/services/nginx/rory.boo | |
parent | Fix imports (diff) | |
download | Rory-Open-Architecture-00ced9c15a7ced5b754d24b919ad4d4e8dc8b1a9.tar.xz |
Refactor nginx
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;" + ; + }; + }; +} |