How to download file via HTTP (not https) ?
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.
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
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;"