Enabling content security headers on Docker and Podman

About this task

The Docker and Podman commands are similar. The only difference is that docker precedes the command when issued in a Docker environment and podman precedes the name in a Podman environment. Example commands used in the Sametime documentation are shown using Docker. For Podman, change docker to podman.

Procedure

  1. Edit the custom.env file.
  2. Add the following parameter to the file, where company_domain is the domain name.
    CONTENT_SECURITY_POLICY=frame-ancestors https://*.company_domain.com
    To apply the changes, stop the Sametime server and start it again.
  3. To stop the Sametime server, run the following script from the Sametime installation directory.
    docker-compose down 
  4. Start the Sametime server to apply the changes.
    docker compose up -d