Add xFrameOptions to apps and routes

This commit is contained in:
Johannes Zellner
2016-07-14 15:16:05 +02:00
parent 37563ee8cb
commit 0d5d54d2d8
3 changed files with 14 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ function configureApp(app, certFilePath, keyFilePath, callback) {
endpoint: endpoint,
certFilePath: certFilePath,
keyFilePath: keyFilePath,
xFrameOptions: app.xFrameOptions || 'SAMEORIGIN'
xFrameOptions: app.xFrameOptions || 'SAMEORIGIN' // once all apps have been updated/
};
var nginxConf = ejs.render(NGINX_APPCONFIG_EJS, data);