From e02174cb710e6d6abd642f03e64ce91bbac38130 Mon Sep 17 00:00:00 2001 From: lost+skunk Date: Sat, 13 Jul 2024 23:55:28 +0300 Subject: Исправление некоторых обосрамсов MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 71c2d6f..9e30da0 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ server { location ((BASE URL)) { # if you have a separate subdomain for the frontend, insert '/' instead of '((BASE URL))'. proxy_set_header Scheme $scheme; + proxy_set_header Host $host; proxy_http_version 1.1; proxy_pass http://((IP)):((PORT)); } @@ -63,6 +64,7 @@ server { location ((BASE URL)) { # если у вас отдельный поддомен для фронтенда, вместо '((BASE URL))' вставляйте '/' proxy_set_header Scheme $scheme; + proxy_set_header Host $host; proxy_http_version 1.1; proxy_pass http://((IP)):((PORT)); } -- cgit v1.2.3