From de46494584afd746f20dd0b85669df0d70567ca2 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 15 Sep 2022 22:17:09 +0800 Subject: [PATCH] Updated Reverse Proxy (markdown) --- Reverse-Proxy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Reverse-Proxy.md b/Reverse-Proxy.md index 4dfecc5..18b9622 100644 --- a/Reverse-Proxy.md +++ b/Reverse-Proxy.md @@ -33,6 +33,7 @@ server { location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $host; proxy_pass http://localhost:3001/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;