From 6047f26de38fefd6844a2f6cd548fbd93f5f60bc Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 18 Jul 2023 15:48:48 +0800 Subject: [PATCH] bugfix --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index ec6f041..10a8b84 100755 --- a/README.md +++ b/README.md @@ -226,6 +226,14 @@ it will search translate text in ms* txt file in folder named by language name i To be list here +## Behind the nginx +when ahserver running behind the nginx, nginx should be forward following header to ahserver + +* X-Forwarded-For: client real ip +* X-Forwarded-Scheme: scheme in client browser +* X-Forwarded-Host: host in client browser +* X-Forwarded-Url: url in client browser + ## environment for processors When coding in processors, ahserver provide some environment stuff for build apllication, there are modules, functions, classes and variables