mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
test trust proxy=2
This commit is contained in:
parent
32ba744d20
commit
506004d410
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ export const createApp = (): {
|
|||
app.use(cookieParser())
|
||||
app.use(json({ limit: '100mb' }))
|
||||
app.use(urlencoded({ limit: '100mb', extended: true }))
|
||||
app.set('trust proxy', 1)
|
||||
app.set('trust proxy', 2)
|
||||
|
||||
const apiLimiter = rateLimit({
|
||||
windowMs: 60 * 1000, // 1 minute
|
||||
|
|
|
|||
Loading…
Reference in a new issue