Commit c5f411b9 authored by xuezezhan's avatar xuezezhan

部署配置

parent 02b46793
{
"destinations": [
{
"name": "portal",
"type": "HTTP",
"proxyType": "Internet",
"authentication": "NoAuthentication",
"url": "https://devportal.wangyouyu.com/"
}
]
}
---
applications:
- name: portalhtml
routes:
- route: devcrm.wangyouyu.com
......@@ -32,7 +32,7 @@ module.exports = {
devServer: {
proxy: {
'/portal': {
target: 'https://devcrm.wangyouyu.com/',
target: 'https://devportal.wangyouyu.com/',
// target: 'http://localhost:8080/',
secure: false,
changeOrigin: true,
......
{
"welcomeFile": "/index.html",
"authenticationMethod": "none",
"routes": [
{
"source": "^/portal/(.*)",
"target": "/$1",
"destination": "portal"
},
{
"source": "(.*)",
"localDir": "dist"
}
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment