Skip to content

Commit

Permalink
test: rewrites not working from root path*
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturn-V committed Feb 8, 2024
1 parent 1fc4890 commit b9b024d
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,39 @@ module.exports = {
value: 'rancher.vzxy.net',
},
],
source: '/:path*',
destination: '/k8s/clusters/c-m-6wzgb6p6/api/v1/namespaces/sammwise/services/http%3Asammwise%3A80/proxy/:path*',
// source: '/:path*',
source: '/',
destination: '/k8s/clusters/c-m-6wzgb6p6/api/v1/namespaces/sammwise/services/http%3Asammwise%3A80/proxy/',
},
{
has: [
{
type: 'host',
value: 'rancher.vzxy.net',
},
],
source: '/about',
destination: '/k8s/clusters/c-m-6wzgb6p6/api/v1/namespaces/sammwise/services/http%3Asammwise%3A80/proxy/about',
},
{
has: [
{
type: 'host',
value: 'rancher.vzxy.net',
},
],
source: '/assessment',
destination: '/k8s/clusters/c-m-6wzgb6p6/api/v1/namespaces/sammwise/services/http%3Asammwise%3A80/proxy/assessment',
},
{
has: [
{
type: 'host',
value: 'rancher.vzxy.net',
},
],
source: '/results',
destination: '/k8s/clusters/c-m-6wzgb6p6/api/v1/namespaces/sammwise/services/http%3Asammwise%3A80/proxy/results',
},
]
}
Expand Down

0 comments on commit b9b024d

Please sign in to comment.