mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
dev-proxy-logging: Add client ip transference to proxy server.
- Add rewriting 'X-REAL-IP' header for each request through dev proxy server. - Change webpack configuration ip to 0.0.0.0 to fix socket.io build for launching remote dev server.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
module.exports = {
|
||||
entry: [
|
||||
'webpack-dev-server/client?http://127.0.0.1:9991/socket.io',
|
||||
'webpack-dev-server/client?http://0.0.0.0:9991/socket.io',
|
||||
'./static/js/src/main.js',
|
||||
],
|
||||
devtool: 'eval',
|
||||
output: {
|
||||
publicPath: 'http://127.0.0.1:9991/webpack/',
|
||||
publicPath: 'http://0.0.0.0:9991/webpack/',
|
||||
path: './static/js',
|
||||
filename: 'bundle.js',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user