慢半拍 发表于 2024-6-28 18:01:14

获取O2OA服务提供的字体文件404

通过nginx代理到O2OA服务器,center、application、web启动端口统一换成了如9999端口

论坛管理员 发表于 2024-7-1 10:26:08

浏览器访问地址是啥?

慢半拍 发表于 2024-7-1 10:58:54

论坛管理员 发表于 2024-7-1 10:26
浏览器访问地址是啥?

https://xx.xxx.com/x_component_Org/$Main/default/fonts/org.ttf?chq7w8

论坛管理员 发表于 2024-7-3 11:21:38

您访问整个环境时的地址,有加端口号9999吗,您https://xx.xxx.com/x_component_Org/$Main/default/fonts/org.ttf?chq7w8这个地址,加上端口能不能访问到

慢半拍 发表于 2024-7-3 16:39:34

论坛管理员 发表于 2024-7-3 11:21
您访问整个环境时的地址,有加端口号9999吗,您https://xx.xxx.com/x_component_Org/$Main/default/fonts/o ...

nginx配置:
location / {
        proxy_pass http://127.0.0.1:18090/;
      }
      location /oa/center/ {
              proxy_pass   http://127.0.0.1:20033/;
            }
            location /oa/app/ {
              proxy_pass   http://127.0.0.1:20022/;
            }
node_127.0.0.1.json配置:
"center": {
    "enable": true,
    "order": 0,
    "sslEnable": false,
    "port": 20033,
    "httpProtocol": "https",
    "proxyHost": "xx.xxxxxx.com",
    "proxyPort": 443
},
"application": {
    "enable": true,
    "port": 20022,
    "sslEnable": false,
    "proxyHost": "xx.xxxxxx.com",
    "proxyPort": 443,
    "includes": [],
    "excludes": []
},
"web": {
    "enable": true,
    "port": 18090,
    "sslEnable": false,
    "proxyHost": "xx.xxxxxx.com",
    "proxyPort": 443,
    "proxyCenterEnable": true,
    "proxyApplicationEnable": true,
    "proxyTimeOut": 300.0
},

论坛管理员 发表于 2024-7-5 09:34:08

您加上端口能访问吗?

慢半拍 发表于 2024-7-8 17:18:44

论坛管理员 发表于 2024-7-5 09:34
您加上端口能访问吗?

不能访问

慢半拍 发表于 2024-7-9 16:48:47

论坛管理员 发表于 2024-7-3 11:21
您访问整个环境时的地址,有加端口号9999吗,您https://xx.xxx.com/x_component_Org/$Main/default/fonts/o ...

加9999端口?加在哪里呢?
页: [1]
查看完整版本: 获取O2OA服务提供的字体文件404