2023-11-24 16:17:39 +01:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name takahe.ixvd.net;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
proxy_set_header X-Forwarded-Port 443;
|
|
|
|
|
|
|
|
proxy_pass http://takahe:8000;
|
|
|
|
}
|
2023-11-25 00:41:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
server_name takahemedia.ixvd.net;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
root /usr/share/takahe;
|
|
|
|
}
|
2023-11-24 16:17:39 +01:00
|
|
|
}
|