nginx-configs/common/owncast.conf

19 lines
683 B
Plaintext
Raw Permalink Normal View History

2022-07-25 10:55:46 +00:00
add_header Onion-Location http://live.vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion$request_uri;
2022-10-21 20:40:01 +00:00
add_header X-I2P-Location http://vernnpcugwla7wyimbdmphdr3kxccis2dtco3qh2lgqwvt6ephsa.b32.i2p$request_uri;
2022-07-25 10:55:46 +00:00
root /var/www/owncast;
location / {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_pass http://127.0.0.1:5394;
}
2023-11-20 07:03:34 +00:00
if ($badagent) {
return 403;
}