From 7acd460adfbf7142f97100a9febb20923259af33 Mon Sep 17 00:00:00 2001 From: aaa1115910 <34527143+aaa1115910@users.noreply.github.com> Date: Sat, 10 May 2025 01:47:54 +0800 Subject: [PATCH] docs: fix incorrect nginx configuration (#171) --- docs/src/content/self-hosting-advanced.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/content/self-hosting-advanced.mdx b/docs/src/content/self-hosting-advanced.mdx index f58a734..4b67822 100644 --- a/docs/src/content/self-hosting-advanced.mdx +++ b/docs/src/content/self-hosting-advanced.mdx @@ -63,7 +63,7 @@ server { # API requests - adjust port if you customized it location /api/ { - proxy_pass http://localhost:3001; # or your custom port + proxy_pass http://localhost:3001/; # or your custom port proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;