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 35adbda commit 239f955
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
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
},
{
has: [
{
Expand Down

0 comments on commit 239f955

Please sign in to comment.