Skip to content

Instantly share code, notes, and snippets.

@uzbekdev1
Created October 4, 2021 21:07
Show Gist options
  • Save uzbekdev1/8c78a5bdc18370ad224c032929e79705 to your computer and use it in GitHub Desktop.
Save uzbekdev1/8c78a5bdc18370ad224c032929e79705 to your computer and use it in GitHub Desktop.
angular proxy agent
"options": {
"browserTarget": "optimargin-status-monitoring:build",
"proxyConfig": "src/proxy-local.conf.json",
"port": 10001
},
"configurations": {
"production": {
"browserTarget": "optimargin-status-monitoring:build:production",
"proxyConfig": "src/proxy-prod.conf.json"
}
}
{
"/api/*": {
"target": "http://localhost:10000",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
},
"/ws/*": {
"target": "http://localhost:10000",
"secure": false,
"logLevel": "debug",
"changeOrigin": true,
"ws": true
}
}
{
"/api/*": {
"target": "http://178.33.123.109:10000",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
},
"/ws/*": {
"target": "http://178.33.123.109:10000",
"secure": false,
"logLevel": "debug",
"changeOrigin": true,
"ws": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment