mirror of
https://github.com/sergeyyarkov/educt-server.git
synced 2026-10-11 02:09:07 +03:00
trust proxy
This commit is contained in:
parent
bfd41f391a
commit
a3ce94f1de
@ -77,7 +77,7 @@ export const http: ServerConfig = {
|
|||||||
| headers.
|
| headers.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
trustProxy: proxyAddr.compile('loopback'),
|
trustProxy: proxyAddr.compile(true),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user