From 29c2242e43e0c4f1dd52ac53e26c5a074d891cc2 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 3 Apr 2023 21:17:00 +0000 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 96b6d07..bc7d40b 100644 --- a/README.md +++ b/README.md @@ -541,6 +541,18 @@ server { fastcgi_cache_key $request_method$host$request_uri; fastcgi_cache_valid any 7d; } + + location /ws/ { + proxy_pass http://127.0.0.1:8080/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto https; + proxy_redirect off; + } } ```