Skip to content

Instantly share code, notes, and snippets.

@lfache
Last active June 11, 2020 07:38
Show Gist options
  • Save lfache/dcb7cd368c27ecdea3b1158f71290a98 to your computer and use it in GitHub Desktop.
Save lfache/dcb7cd368c27ecdea3b1158f71290a98 to your computer and use it in GitHub Desktop.
labels:
traefik.enable: true
traefik.docker.network: traefik_web
traefik.http.routers.nextcloud.entrypoints: websecure
traefik.http.routers.nextcloud.rule: 'Host(`${NEXTCLOUD_URL}`)'
traefik.http.services.nextcloud.loadbalancer.server.port: 80
traefik.http.middlewares.nextcloud-headers.headers.referrerpolicy: "same-origin"
traefik.http.routers.nextcloud.middlewares: 'nextcloud-headers'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment