Table of Contents

xandikos

install

...
  xandikos:
    restart: always
    image: ghcr.io/jelmer/xandikos
    user: "1000:1000"
    networks:
      - nginx
    volumes:
      - ./xandikos/:/data
    command: "--route-prefix=/baseurl/to/xandikos/"
...

authentication

location /baseurl/to/xandikos/ {
  proxy_pass http://xandikos:8000;
  proxy_set_header Host $http_host;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_redirect off;
  proxy_buffering off;
 
  auth_basic "login required";
  auth_basic_user_file /etc/nginx/htpasswd;
}

client setup