We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cea72ac commit 3ae23ebCopy full SHA for 3ae23eb
README.md
@@ -89,7 +89,13 @@ Keys are [context](https://github.com/chimurai/http-proxy-middleware#context-mat
89
'/api': 'http://example.com',
90
91
// With options
92
- '/api2': { target: 'http://example.com', ws: false }
+ '/api2': { target: 'http://example.com', ws: false },
93
+
94
+ // Proxy to backend unix socket
95
+ '/api3': {
96
+ changeOrigin: false,
97
+ target: { socketPath: '/var/run/http-sockets/backend.sock' }
98
+ }
99
}
100
101
```
0 commit comments