...
Code Block |
---|
# Set FLEXDEPLOY_HSTS to 1 to enable HSTS. This allows only HTTPS browser connections to work. # Set FLEXDEPLOY_HSTS to 0 to disable HSTS. This allows HTTP connections to work. export FLEXDEPLOY_HSTS=01 |
Windows
Code Block |
---|
@rem Set FLEXDEPLOY_HSTS to 1 to enable HSTS. This allows only HTTPS browser connections to work. @rem Set FLEXDEPLOY_HSTS to 0 to disable HSTS. This allows HTTP connections to work. set FLEXDEPLOY_HSTS=01 |
If you enable HSTS, you probably want to also set
...
FLEXDEPLOY_COOKIE
...
_SECUREto 1 in addition.
Linux
Code Block |
---|
# Set FLEXDEPLOY_COOKIE_SECURE to 1 to enable secure session cookies. This requires HTTPS, or a load balancer using HTTPS. # Set FLEXDEPLOY_COOKIE_SECURE to 0 to disable secure session cookies. This allows HTTP connections to work. export FLEXDEPLOY_COOKIE_SECURE=01 |
Windows
Code Block |
---|
@rem Set FLEXDEPLOY_COOKIE_SECURE to 1 to enable secure session cookies. This requires HTTPS, or a load balancer using HTTPS. @rem Set FLEXDEPLOY_COOKIE_SECURE to 0 to disable secure session cookies. This allows HTTP connections to work. set FLEXDEPLOY_COOKIE_SECURE=01 |