mirror of https://github.com/rancher/ui.git
commit
dbef68eb68
|
|
@ -74,6 +74,7 @@ module.exports = function(app, options) {
|
|||
'Version': '/version',
|
||||
'Apiui': '/api-ui',
|
||||
'Samlauth': '/v1-saml',
|
||||
'Drivers': '/assets/rancher-ui-driver-*',
|
||||
}
|
||||
|
||||
app.use('/', function(req, res, next) {
|
||||
|
|
@ -95,7 +96,7 @@ module.exports = function(app, options) {
|
|||
}
|
||||
|
||||
// include root path in proxied request
|
||||
req.url = path.join(base, req.url);
|
||||
req.url = req.originalUrl;
|
||||
req.headers['X-Forwarded-Proto'] = req.protocol;
|
||||
|
||||
// don't include the original host header
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit dc7c438544167077ea087bd594921c0d12e7b182
|
||||
Subproject commit 3781f899f1f430fa7af78642e89055d4da2695db
|
||||
Loading…
Reference in New Issue