From 6f318a4dfc26dc302a785e15f1d63fc77304bb5c Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Wed, 17 Jul 2024 14:52:44 -0300 Subject: [PATCH] proxy para ws en code-server --- reverse_proxy/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/reverse_proxy/nginx.conf b/reverse_proxy/nginx.conf index 474674f..2d12ffe 100644 --- a/reverse_proxy/nginx.conf +++ b/reverse_proxy/nginx.conf @@ -8,6 +8,9 @@ server { proxy_pass http://mindy.ralsina.github.beta.tailscale.net:8088; proxy_set_header X-Forwarded-Host $http_host; proxy_set_header Host $host; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection upgrade; + proxy_set_header Accept-Encoding gzip; } error_page 500 502 503 504 /custom_50x.html; location = /custom_50x.html {