Created
September 25, 2018 07:59
-
-
Save serslon/44e80db55b09e9901ae0588a482d85b8 to your computer and use it in GitHub Desktop.
the configuration for proxy webpack dev server from http to https
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| devServer: { | |
| port: 9000, | |
| publicPath: '/', | |
| proxy: { | |
| '/oauth2': { | |
| target: { | |
| host: 'securehost.com', | |
| protocol: 'https:', | |
| port: 443, | |
| }, | |
| changeOrigin: true, | |
| }, | |
| }, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment