Alteryx Server Knowledge Base

Definitive answers from Server experts.

How to: Enable HTTP Strict Transport Security in Alteryx Server

MarkelioH
Alteryx
Alteryx
Created

How to: Enable  HTTP Strict Transport Security in Alteryx Server 
 

This article explains how to enable HTTP Strict Transport Security (HSTS) on the Gallery.

Prerequisites

  • Alteryx Server
    • All Versions
Procedure
  1. Open the File Explorer and navigate to C:\Program Files\Alteryx\bin\server\config


2. Before making any changes, take a backup of the alteryx.config file. You can name it alteryx_backup.config

3. Right-click on the alteryx.config file and open it using a Text editor.

4. Inside the opening file, search for "Strict-Transport-Security".


5. Remove the comment tags in the following section and save the file. 
 <header name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains" />

Example: 

Before Editing 



After updating the file



6. Restart the Alteryx Service.

Open the command prompt as Administrator and run the following commands to restart the service.
 "c:\Program Files\Alteryx\bin\alteryxservice.exe" stop
  Once the service has stopped, run the following command to start the service.
 "c:\Program Files\Alteryx\bin\alteryxservice.exe" start