vue 3 vue-cli-service serve vue.config.js package.json docker

“serve”: “vue-cli-service serve”, Some page modify vue-cli-service serve –host 0.0.0.0 –port 8978 This may in docker failed. Error: listen EADDRNOTAVAIL: address not available So some page modify vue.config.js Use public is Failed!! devServer: { public: '0.0.0.0:80', disableHostCheck: true, } Use host port is Correct!! module.exports = { chainWebpack: config => { config.module.rules.delete('eslint'); }, devServer: { host: '0.0.0.0', port: '80', //public: '0.0.0.0:80', //無效 disableHostCheck: true, } } PS: .Put eslint is maybe get some eslint error, not about host ip port. .disableHostCheck can remove for try by yourself env. ...

2019-08-02 · 1 min · 88 words · Me

[轉]Aliasing module paths in Node JS

package.json “_moduleAliases”

2019-07-31 · 1 min · 2 words · Me

Mirror Your Traffic Duplicate

goreplay https://github.com/buger/goreplay tcpcopy https://github.com/session-replay-tools/tcpcopy teeproxy https://github.com/chrislusf/teeproxy duplicator https://github.com/agnoster/duplicator goduplicator https://github.com/mkevac/goduplicator nginx mirror haproxy mirror

2019-07-30 · 1 min · 14 words · Me

[轉]How to Mirror Your Traffic with Nginx

https://www.serverlab.ca/tutorials/linux/web-servers-linux/how-to-mirror-your-traffic-with-nginx/

2019-07-30 · 1 min · word · Me

Mirror Your Traffic

ngnix mirror

2019-07-30 · 1 min · 2 words · Me