1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00
transmission_ynh/conf/nginx.conf

23 lines
579 B
Nginx Configuration File

location __PATH__/transmission {
proxy_pass http://127.0.0.1:__PORT____PATH__/transmission;
client_max_body_size 8M;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
}
location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT__/;
}
location __PATH__/downloads/ {
alias /home/yunohost.transmission/completed/;
autoindex on;
autoindex_exact_size off;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
}