rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - finchy70

Pages: 1
1
HFS ~ HTTP File Server / Re: HFS behind Nginx reverse proxy
« on: September 17, 2018, 11:08:47 AM »
Solved the issue by moving HFS to the root of Nginx proxy server.  Would like to know how to move it to the /hfs url though.

2
HFS ~ HTTP File Server / Re: HFS behind Nginx reverse proxy
« on: September 16, 2018, 07:43:21 AM »
Thanks for the reply.
Could you explain what you mean in a little more detail please.

Here is my HFS folder with tpl file.



Here is my config for HFS in Nginx.

location /hfs {
   proxy_pass http://127.0.0.1:4443/;
   proxy_set_header  X-Real-IP  $remote_addr;
   proxy_set_header        Host              $host;
   proxy_set_header        X-Forwarded-For   $proxy_add_x_forwarded_for;
   proxy_set_header        X-Forwarded-Proto $scheme;
   proxy_redirect off;
   proxy_buffering off;
}

Also how do I append /hfs to the address in the HFS settings?




3
HFS ~ HTTP File Server / HFS behind Nginx reverse proxy
« on: September 15, 2018, 07:55:49 PM »
Hi. 
I have managed to set up HFS behind a reverse proxy.but HFS seems to lose its css.  How do I set the  /domain in HFS options as I think this may be the problem.

4
HFS ~ HTTP File Server / Re: Set Up HFS ssl on windows 10
« on: October 03, 2016, 01:22:45 PM »
FIXED.
In the end i decided to use the latest standalone stunnel and the latest hfs.
Created my key with openssl in stunnel package and put the private key and cert from my provider in stunnel.pem and it now works.
Set stunnel to listen on 443 and then send to 44300.  I set HFS to listen on 44300.

Thanks for the help.

5
HFS ~ HTTP File Server / Re: Set Up HFS ssl on windows 10
« on: October 03, 2016, 10:52:12 AM »
I have created a private key and cert request using
openssl req -new -days 365 -nodes -config stunnel.pem -out certreq.pem -keyout stunnel.pem

I then send the request to my ssl cert provider and get back two files a cert.p7b and cert.ca-bundle
I placed the stunnel.pem in the SSLCerts folder and renamed it Private key.pem and have tried both p7b and bundle files in the folder renamed as Certificate.pem.

When I run HFS it errors saying  invalid config file.

If I replace the self generated keys in the sslcerts folder it all works.  Any idea why this isn't working?

6
HFS ~ HTTP File Server / Set Up HFS ssl on windows 10
« on: October 02, 2016, 08:06:07 PM »
Can someone please point me in the right direction to set up HFS ssl with a cert provided by NameCheap.
I did it a few years ago but can't remember how and cant find a tutorial.

Any help would be gratefully received.

Thanks Finchy70

Pages: 1