'Implementing HSTS on docker dontainers
I have a VM within which I have application running as docker-compose file. how do I implement HSTS on that?
version: "3"
services:
drone-server:
container_name: drone_server
image: drone/drone:2.4
env_file:
- /opt/drone/drone-server.env
volumes:
- /var/lib/drone:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "8080:80"
restart: always
drone-agent:
container_name: drone_agent
image: drone/drone-runner-docker
env_file:
- /opt/drone/drone-agent.env
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
