feat: add host header

This commit is contained in:
Strix 2023-11-25 15:51:43 +01:00
parent c291e5490e
commit 81c93a05df
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7
2 changed files with 3 additions and 2 deletions

View file

@ -1,8 +1,9 @@
server {
listen 80;
server_name takahe.ixvd.net;
server_name takahe.ixvd.net on.ixvd.net;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;

View file

@ -9,7 +9,7 @@ services:
- takahe # it will not start properly without
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,takahemedia.ixvd.net"
CERTBOT_DOMAINS: "kid.ixvd.net,fedi.ixvd.net,matrix.ixvd.net,on.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