Trying to fix for production.
This commit is contained in:
parent
ccf1db2939
commit
6cca689ef7
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## v2.1.1
|
||||
|
||||
### Fixes
|
||||
|
||||
* Fix bad proxy settings when not working on localhost
|
||||
|
||||
## v2.1.0
|
||||
|
||||
### Important Notes
|
||||
|
@ -115,7 +115,7 @@ function changeHttpBindRoute ({ peertubeHelpers }: RegisterServerOptions, port:
|
||||
proxyReqPathResolver: async (_req: Request): Promise<string> => {
|
||||
return '/http-bind' // should not be able to access anything else
|
||||
},
|
||||
// preserveHostHdr: false,
|
||||
preserveHostHdr: true,
|
||||
parseReqBody: true // Note that setting this to false overrides reqAsBuffer and reqBodyEncoding below.
|
||||
// FIXME: should we remove cookies?
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user