Merge remote-tracking branch 'remotes/origin/release/v7.4.0' into develop

# Conflicts:
#	web/documentserver-example/nodejs/helpers/docManager.js
This commit is contained in:
Sergey Linnik
2023-06-07 18:45:53 +05:00

View File

@ -189,7 +189,8 @@ DocManager.prototype.getServerPath = function getServerPath() {
// get host address from the request
DocManager.prototype.getServerHost = function getServerHost() {
return `${this.getProtocol()}://${this.req.headers['x-forwarded-host'] || this.req.headers.host}`;
return `${this.getProtocol()}://${this.req.headers['x-forwarded-host'] || this.req.headers.host}`
+ `${this.req.headers['x-forwarded-prefix'] || ''}`;
};
// get protocol from the request