Skip to content

Commit

Permalink
try alternative proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturn-V committed Oct 17, 2023
1 parent 239f955 commit 5133d85
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,8 @@ module.exports = {
async rewrites() {
return [
{
has: [
{
type: 'host',
value: 'rancher.vzxy.net',
},
],
source: '/:path*/',
destination: '/:path*/' // Proxy to Backend
},
{
has: [
{
type: 'host',
value: 'rancher.vzxy.net',
},
],
source: '/:path*/about',
destination: '/:path*/about' // Proxy to Backend
source: '/',
destination: '/api/v1/namespaces/sammwise/services/http%3sammwise%380/proxy' // Proxy to Backend
},
{
has: [
Expand Down

0 comments on commit 5133d85

Please sign in to comment.