Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Recommended Posts

Posted

Hi

I am trying to set up a RaspberryPi with nginx to have my own remote access with SSL. This is how I configured nginx

 

location / {
        try_files $uri $uri/ =404;
    }

 

location /fibaro/ {

proxy_pass http://10.16.3.250/;
#rewrite ^/fibaro(.*) /$1 break;
proxy_buffering        off;
proxy_set_header X-Real-IP  $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto    $scheme;
proxy_set_header Host $http_host;
#proxy_set_header X-NginX-Proxy true;
#proxy_set_header Authorization $http_authorization;
#proxy_pass_header Authorization;
#proxy_redirect off;
auth_basic "fibaro";
auth_basic_user_file    /etc/apache2/.htpasswd;
}

 

Unfortunately I am stuck in the "take me to homepage" screen and I cannot get to the login.html page. The .htpasswd file has same username/password as I have on HC2.

 

Any idea of what's wrong?

 

Thanks!
R

 

 

 

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...