fix: takahe media
This commit is contained in:
parent
8bd867bc30
commit
aa0cfb46c8
3 changed files with 12 additions and 2 deletions
|
@ -10,4 +10,13 @@ server {
|
|||
|
||||
proxy_pass http://takahe:8000;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name takahemedia.ixvd.net;
|
||||
|
||||
location / {
|
||||
root /usr/share/takahe;
|
||||
}
|
||||
}
|
|
@ -7,7 +7,7 @@ x-takahe-common: &takahe-common
|
|||
TAKAHE_DATABASE_SERVER: "postgres://takahe:takahe@takahe-db/takahe"
|
||||
TAKAHE_MEDIA_BACKEND: "local://"
|
||||
TAKAHE_MEDIA_ROOT: "/media"
|
||||
TAKAHE_MEDIA_URL: "/media/"
|
||||
TAKAHE_MEDIA_URL: "https://takahemedia.ixvd.net/"
|
||||
TAKAHE_MAIN_DOMAIN: "takahe.ixvd.net"
|
||||
env_file:
|
||||
- /etc/ixvd/secrets/env/takahe.env
|
||||
|
|
|
@ -7,10 +7,11 @@ services:
|
|||
build: custom/nginx
|
||||
environment:
|
||||
CERTBOT_EMAIL: "webmaster@ixvd.net"
|
||||
CERTBOT_DOMAINS: "kid.ixvd.net,fedi.ixvd.net,matrix.ixvd.net,matrix.neo.ixvd.net,cinny.ixvd.net,search.ixvd.net,pad.ixvd.net,sandbox.pad.ixvd.net,bin.ixvd.net,takahe.ixvd.net"
|
||||
CERTBOT_DOMAINS: "kid.ixvd.net,fedi.ixvd.net,matrix.ixvd.net,matrix.neo.ixvd.net,cinny.ixvd.net,search.ixvd.net,pad.ixvd.net,sandbox.pad.ixvd.net,bin.ixvd.net,takahe.ixvd.net,takahemedia.ixvd.net"
|
||||
volumes:
|
||||
- /srv/certbot/data:/etc/letsencrypt
|
||||
- /srv/certbot/other/www:/var/www/certbot
|
||||
- /srv/takahe/data:/usr/share/takahe
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
|
|
Loading…
Reference in a new issue