Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save panchalkalpesh/9daaba05c3ca4fccd336549f18a1648c to your computer and use it in GitHub Desktop.
Save panchalkalpesh/9daaba05c3ca4fccd336549f18a1648c to your computer and use it in GitHub Desktop.
Proxy configuration with a few paths for angular
{
"/myapp/*": {
"target": "https://pedro.internal.lab:9443",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
},
"/users/*": {
"target": "https://sonia.internal.lab:9443",
"secure": false,
"logLevel": "debug",
"changeOrigin": true,
"headers": {"Authorization": "Basic cm8vdDpub3ZlvGw="}
},
"/items/*": {
"target": "https://pedro.internal.lab:8443",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment