rtinst icon indicating copy to clipboard operation
rtinst copied to clipboard

How to download file via HTTP (not https) ?

Open dle001 opened this issue 8 years ago • 2 comments

I want to download files back to my computer via HTTP in sometimes.

but I can't do it. It's force download via https every times.

How to fix it for ignore redirect to https and can download file via HTTP ?

Thank you PS. Sorry for my bad English.

dle001 avatar Jan 19 '18 17:01 dle001

You could edit the file /etc/nginx/sites-enabled/default

delete all the code,then enter the following content:

server { listen 80; root /var/www; index index.html index.php index.htm; client_max_body_size 40m; location / { try_files $uri $uri/ =404; } location /rutorrent { client_max_body_size 40m; auth_basic "Restricted"; auth_basic_user_file /etc/nginx/.htpasswd; include /etc/nginx/conf.d/php; include /etc/nginx/conf.d/cache; } location ~ /.ht { deny all; } }

and then execute a command: /etc/init.d/nginx restart

xxhjkl avatar Jan 28 '18 17:01 xxhjkl

https is encrypted so not sure why you wouldn't want to use it.

Edit the file /etc/nginx/sites-available/default

and comment out line 13 - "deny all;"

arakasi72 avatar Jan 28 '18 17:01 arakasi72