Skip to content

Commit 45b2b33

Browse files
yongjhihdrew-gross
authored andcommitted
Allow trust proxy (#308)
1 parent 2c0af37 commit 45b2b33

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)