22 lines
No EOL
454 B
Text
22 lines
No EOL
454 B
Text
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;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name takahemedia.ixvd.net;
|
|
|
|
location / {
|
|
root /usr/share/takahe;
|
|
}
|
|
} |