ansible-torrent-server/templates/nginx.conf.j2

14 lines
229 B
Django/Jinja

server {
server_name {{ torrent_server.public_url }};
listen 8081;
location / {
root /var/www/receptor;
try_files $uri /index.html;
}
location /dist {
root /var/www/receptor;
}
}