Replies: 3 comments 1 reply
-
Hi @J-J-E, Great question! They can both be safely removed from your json configuration file so as long as your are satisfied with the default values. The
If removed it will default to using Web Adaptor URL: The
If removed it will not set system_properties: Thanks, |
Beta Was this translation helpful? Give feedback.
-
@cameronkroeker based on your above response, I assumed that removing the web context URL settings from the json would set my default web context url as https://domain/hostname/server and not https://ip-addres/server. But my services published to portal carry the internal Ip address instead of the external domain name in their service url, using the below configuration. Additionally, with the below configuration, the server private url and server url seem to have been reversed within the server admin security page Server Security Settings page below JSON config below "portal": { With the above json configuration, I would have thought that:
@cameronkroeker can you please advise the appropriate server json configuration parameters i need so that the services and server security are properly set? |
Beta Was this translation helpful? Give feedback.
-
Hi @J-J-E, The following 2 attributes are used for federation to determine the federated services url and federated server admin url:
arcgis-cookbook/cookbooks/arcgis-enterprise/recipes/federation.rb Lines 39 to 40 in c92c776 Perhaps this example is will do the trick? "server": {
"hostname": "gis-test-enterprise.us-west2-c.c.ops-gcp.internal",
"configure_autostart": true,
"install_dir": "/opt",
"web_context_url": "https://gis-test.filmla.com/server",
"private_url": "https://gis-test-enterprise.us-west2-c.c.ops-gcp.internal:6443/arcgis",
"admin_username": "--------",
"admin_password": "--------",
"authorization_file": "--------",
"directories_root": "/opt/arcgis/gisdata/arcgisserver",
"log_dir": "/opt/arcgis/server/usr/logs",
"log_level": "DEBUG",
"config_store_type": "FILESYSTEM",
"config_store_connection_string": "/opt/arcgis/gisdata/arcgisserver/config-store",
"install_system_requirements": true,
"wa_name": "server",
"services_dir_enabled": true,
"system_properties": {
"WebContextURL": "https://gis-test.filmla.com/server"
}
} |
Beta Was this translation helpful? Give feedback.
-
I am wondering if this is a necessity or an oversight, as the resource is defined twice at
[arcgis][server][webcontexturl]
and
[arcgis][server][system_properties][webcontexturl]
https://github.com/Esri/arcgis-cookbook/blob/main/templates/arcgis-enterprise-base/11.3/linux/arcgis-enterprise-primary.json
Can one safely be removed?
Beta Was this translation helpful? Give feedback.
All reactions