mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 22:53:26 +02:00
Trust proxy in app. Should finally make "localhost" in reverse port forwarding work automagically now that the load balancer is set up correctly.
This commit is contained in:
@@ -44,6 +44,7 @@ module.exports = function(options) {
|
||||
app.set('views', pathutil.resource('app/views'))
|
||||
app.set('strict routing', true)
|
||||
app.set('case sensitive routing', true)
|
||||
app.set('trust proxy', true)
|
||||
|
||||
if (options.disableWatch) {
|
||||
app.use(compression())
|
||||
|
||||
Reference in New Issue
Block a user