Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 379 Bytes
server {
listen 80 default; ## listen for ipv4; this line is default and implied
server_name localhost;
location ~ ^/static/ {
root /home/anton/Projects/iStream;
autoindex on;
}
location ~ \.(ts|m3u8)$ {
root /home/anton/Downloads;
}
location / {
proxy_pass http://127.0.0.1:8888;
proxy_set_header Host $http_host;
}
}