23 lines
No EOL
503 B
Text
23 lines
No EOL
503 B
Text
server {
|
|
listen 80;
|
|
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;
|
|
proxy_set_header X-Forwarded-Port 443;
|
|
|
|
proxy_pass http://takahe:8000;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name takahemedia.ixvd.net;
|
|
|
|
location / {
|
|
root /usr/share/takahe;
|
|
}
|
|
} |