Unverified Commit 8a6b34b4 authored by Tom Moulard's avatar Tom Moulard
Browse files

video: changing to STREMA service

parent cc9d7d85
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -156,16 +156,16 @@ services:
      - 'traefik.frontend.auth.basic.users=${USERNAME}:${HASHED_PASSWORD}'

  video:
    image: nginx:stable-alpine
    image: gissehel/streama
    volumes:
      - './transmission:/etc/nginx/conf.d'
      - './transmission/downloads:/data'
    networks:
      - srv
    labels:
      - 'traefik.enable=true'
      - 'traefik.backend=video'
      - 'traefik.frontend.rule=Host:video.${SITE}'
      - 'traefik.port=80'
      - 'traefik.port=8080'
      - 'traefik.frontend.auth.basic.users=${USERNAME}:${HASHED_PASSWORD}'

  vpn:

transmission/nginx.conf

deleted100644 → 0
+0 −14
Original line number Diff line number Diff line
server {
    root /etc/nginx/conf.d/downloads;
    index index.html;

    location /{
        try_files $uri $uri/ =404;
        autoindex on;
    }
    # deny all direct access for these folders
    location ~* /(.git|cache|bin|logs|backup|tests)/.*$ { return 403; }
    location ~* ^.+\.(ico|js|gif|jpg|jpeg|png|bmp|mp3|mp4|mkv)$ {
        expires 30d;
    }
}