Skip to content

Commit 26b69f0

Browse files
committed
Allow trust proxy
1 parent 561196f commit 26b69f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Parse-Dashboard/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ p.then(config => {
105105

106106
const app = express();
107107

108+
if (allowInsecureHTTP) app.enable('trust proxy');
108109
app.use(mountPath, parseDashboard(config.data, allowInsecureHTTP));
109110
if(!configSSLKey || !configSSLCert){
110111
// Start the server.

0 commit comments

Comments
 (0)