Release
This commit is contained in:
27
sources/nginx/rutorrent.conf
Normal file
27
sources/nginx/rutorrent.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
location PATHTOCHANGE {
|
||||
alias /var/www/rutorrent;
|
||||
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
client_max_body_size 10G;
|
||||
index index.html;
|
||||
try_files $uri $uri/ index.html;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
fastcgi_index index.html;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
include fastcgi_params;
|
||||
}
|
||||
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
||||
}
|
||||
|
||||
location PATHTOCHANGE/RPC2 {
|
||||
scgi_pass 127.0.0.1:5000;
|
||||
include scgi_params;
|
||||
scgi_param SCRIPT_NAME /RPC2;
|
||||
}
|
||||
Reference in New Issue
Block a user