Grunt connect proxy rewrite not works in https
问题 I try to create a connect proxy by this article. Almost everything is the same in my code, but I need to call something across https protocol. connect: { options: { port: 9000, hostname: '0.0.0.0', livereload: 35729 }, proxies: [{ context: ['/foo/product', '/foo/somethingelse'], host: 'non-https-domain.com', changeOrigin: true rewrite: { '^/foo': '' } },{ context: '/productImages', host: 'https-domain.com', https: true, port: 443, // just trying changeOrigin: true, rewrite: { '^/productImages