Skip to main content

changewebserverconfig

This utility affects all ArcGIS Data Store installations on a machine.

The changewebserverconfig utility controls settings for the ArcGIS Data Store web server. Running this utility causes the web server to restart.

Syntax

changewebserverconfig [--hsts {true|false}] [--prompt {yes|no}]

Option

Description

--hsts

Specify true with this option to enforce HTTP Strict Transport Security (HSTS) for the web server. To disable HSTS, specify false.

HSTS is disabled (false) by default.

--prompt

Valid values are yes or no.

When you run this utility, you are prompted to confirm the action you specified. If you automate the use of this utility, set the --prompt option to no; otherwise, the script will not proceed until you answer the prompt.

Examples

The first example below alters the web server to enforce HTTP Strict Transport Security (HSTS) for the ArcGIS Data Store installation. That means all communication with this ArcGIS Data Store installation must take place over HTTPS.

./changewebserverconfig.sh --hsts true

changewebserverconfig --hsts true