feat: add host header
This commit is contained in:
parent
c291e5490e
commit
81c93a05df
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue