docs: fix incorrect nginx configuration (#171)

This commit is contained in:
aaa1115910 2025-05-10 01:47:54 +08:00 committed by GitHub
parent d1d3d847a3
commit 7acd460adf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,7 @@ server {
# API requests - adjust port if you customized it # API requests - adjust port if you customized it
location /api/ { 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 Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;