Trying to "see" my NGINX downloads folder via https?

I have NGINX installed on a VPN and I would like to access the
“downloads” folder via https. I followed instructions given to me as
follows:

In order to download your files from your vpn, you will move the
download folder of deluge into nginx www folder. For example: downloads
folder (/usr/share/nginx/www/downloads). Your files will be accessible
at http://ip-address/downloads.

Change the configuration file is at /etc/nginx/sites-available/default
to allow the downloads folder to be accessable via https.

Edit that file and you will see a line like root
/path/to/root/folder/here <-- change this to your download location.

In that file I replaced

root /usr/share/nginx/html;
index index.html index.htm;

with

root /usr/share/nginx/www/downloads

You also need to enable autoindex. By default, nginx will not list the
files inside a folder (security reason).

Add these lines to the default file:

autoindex on;
autoindex_exact_size off;
autoindex_localtime on;

Which I did.

So far I cannot access the downloads folder and thought I would look for
some help here.

Thanks very much

Henry

On Wed, Apr 29, 2015 at 8:56 PM, silsurf Google [email protected]
wrote:

I have NGINX installed on a VPN and I would like to access the “downloads”
folder via https. I followed instructions given to me as follows:

Is your server listening on port 443?


Thiago F.

On Wed, Apr 29, 2015 at 04:56:18PM -0700, silsurf Google wrote:

Hi there,

In order to download your files from your vpn, you will move the download folder
of deluge into nginx www folder. For example: downloads folder
(/usr/share/nginx/www/downloads). Your files will be accessible at
http://ip-address/downloads.

In that file I replaced

root /usr/share/nginx/html;
index index.html index.htm;

with

root /usr/share/nginx/www/downloads

http://nginx.org/r/root

What request do you make?

What response do you get?

What response do you want?

If you want “the listing of the directory
/usr/share/nginx/www/downloads,
for the request /downloads/”, then you want “root /usr/share/nginx/www”
as your relevant configuration.

f

Francis D. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs