docs(NPM): domain without :3040 needs no path rewrite; forward + headers

Co-Authored-By: Paperclip <[email protected]>
This commit is contained in:
1sonhadorandPaperclip committed 2026-03-23 21:26:10 +00:00
1 parent 4a32bb3b0c
commit e3a7efc1a3
2 files changed
+16

No files matched your search

@@ -31,7 +31,9 @@ server {
proxy_pass http://127.0.0.1:3040;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
# WebSockets: usar map $http_upgrade no bloco http{} ou seguir guia NPM §14.2.1
}
}