三台服务器, 部署软件分别为:
服务器 | 软件 | Web 地址 |
|---|---|---|
agportal.local | Portal for ArcGIS 10.6 | https://agportal.local:7443/arcgis/ |
agserver.local | Server for ArcGIS 10.6 | https://agserver.local:6443/arcgis/ |
nginx.local | Nginx | https://nginx.local/ |
nginx 作为反向代理, 实现用下面的URL地址来访问 Portal 和 Server
System > Properties > Update;Properties 文本框中,插入以下 JSON:
{ "WebContextURL": "https://nginx.local/gisserver" }
Update 按钮, 等待服务器更新完成;System > Properties > Update;Properties 文本框中,插入以下 JSON:
{ "WebContextURL": "https://nginx.local/gisportal" }
nginx -s reload 重新加载配置