Skip to content

Mixed content error for self hosting #654

Discussion options

You must be logged in to vote

Hi @Vigasaurus, find the env and caddy config below:

plausible-conf.env

ADMIN_USER_EMAIL=fulcherhuw@gmail.com
ADMIN_USER_NAME=hfulcher
ADMIN_USER_PWD=<removed>
BASE_URL=http://analytics.huwfulcher.com:8000
SECRET_KEY_BASE=<removed>

caddy config

version: "3.3"
services:
  caddy-gen:
    container_name: caddy-gen
    image: "wemakeservices/caddy-gen:latest"
    restart: always
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
      - caddy-certificates:/data/caddy
    ports:
      - "80:80"
      - "443:443"
    depends_on:
      - plausible

  plausible:
    labels:
      virtual.host: "http://analytics.huwfulcher.com" # change to your domain name
      virtual.port: "8000"
  …

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@HFulcher
Comment options

@Vigasaurus
Comment options

@HFulcher
Comment options

@Vigasaurus
Comment options

@HFulcher
Comment options

Answer selected by HFulcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants