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
2022-07-03 20:39:22 +02:00

30 lines
712 B
Nginx Configuration File

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