# Server displaying only basic authentication pop-up instead of index on fresh install

**URL:** <https://community.openhab.org/t/server-displaying-only-basic-authentication-pop-up-instead-of-index-on-fresh-install/54774>\
**Category:** Installation\
**Tags:** installation, openhabcloud1\
**Created:** [October 26, 2018, 1:31am UTC](https://community.openhab.org/t/server-displaying-only-basic-authentication-pop-up-instead-of-index-on-fresh-install/54774 "2018-10-26T01:31:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liviu.spiroiu](https://community.openhab.org/letter_avatar_proxy/v4/letter/l/aeb1de/32.png) [@liviu.spiroiu](https://community.openhab.org/u/liviu.spiroiu)\
**Post date:** [October 26, 2018, 1:31am UTC](https://community.openhab.org/t/server-displaying-only-basic-authentication-pop-up-instead-of-index-on-fresh-install/54774/1 "2018-10-26T01:31:50Z")

</div>

- Platform information:
  - Hardware: HP Proliant
  - OS: CentOS Linux 7
  - Java Runtime Environment: openjdk version “1.8.0\_181”
  - openHAB version: latest as of today

The first thing I need to mention is that I run the server in a VestaCP subdomain.  
The nginx config file is as follows:

```auto
server {
    listen	192.168.x.x:443;
    server_name home.psmedia.ro www.home.psmedia.ro;
    ssl on;
    ssl_certificate /home/admin/conf/web/ssl.home.psmedia.ro.pem;
    ssl_certificate_key /home/admin/conf/web/ssl.home.psmedia.ro.key;
    error_log /var/log/httpd/domains/home.psmedia.ro.error.log error;

    location /css {
        alias /home/admin/web/home.psmedia.ro/openhab-cloud/public/css;
    }
    location /js {
        alias /home/admin/web/home.psmedia.ro/openhab-cloud/public/js;
    }
    location /img {
        alias /home/admin/web/home.psmedia.ro/openhab-cloud/public/img;
    }
    location /bootstrap {
        alias /home/admin/web/home.psmedia.ro/openhab-cloud/public/bootstrap;
    }
    location /font-icons {
        alias /home/admin/web/home.psmedia.ro/openhab-cloud/public/font-icons;
    }
    location /fonts {
        alias /home/admin/web/home.psmedia.ro/openhab-cloud/public/fonts;
    }
    location /js-plugin {
        alias /home/admin/web/home.psmedia.ro/openhab-cloud/public/js-plugin;
    }
    location /downloads {
        alias /home/admin/web/home.psmedia.ro/openhab-cloud/public/downloads;
    }

    location / {
        proxy_pass http://localhost:3000;
        proxy_redirect off;
        proxy_http_version 1.1;
        proxy_set_header Host $host;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        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 https;
    }

    location /error/ {
        alias /home/admin/web/home.psmedia.ro/document_errors/;
    }

location @fallback {
        proxy_pass	https://192.168.0.4:8443;
    }

    location ~ /\.ht {return 404;}
    location ~ /\.svn/ {return 404;}
    location ~ /\.git/ {return 404;}
    location ~ /\.hg/ {return 404;}
    location ~ /\.bzr/ {return 404;}

    include /home/admin/conf/web/snginx.home.psmedia.ro.conf*;
}

```

- Issue of the topic: I have installed a fresh instance of the openhab cloud server according to this topic:  
[Myopenhab](https://community.openhab.org/t/setup-your-own-openhab-cloud-myopenhab-server-instance/24716)  
When starting the server all seems well, the output is as follows:

```auto
2018-10-26T01:15:15.605Z - info: openHAB-cloud: Backend service is starting up...
2018-10-26T01:15:15.636Z - info: openHAB-cloud: Backend logging initialized...
2018-10-26T01:15:17.198Z - info: openHAB-cloud: Initializing XMPP connection to GCM
2018-10-26T01:15:17.868Z - info: openHAB-cloud: Connecting ro Redis at 127.0.0.1:6379
2018-10-26T01:15:22.203Z - info: openHAB-cloud: Mailer will emulate sending in development environment
2018-10-26T01:15:22.296Z - info: opneHAB-cloud: Trying to connect to mongodb at: mongodb://127.0.0.1/openhab?poolSize=100
2018-10-26T01:15:22.332Z - info: openHAB-cloud: Scheduling a statistics job (every 5 min)
2018-10-26T01:15:22.630Z - info: openHAB-cloud: IFTTT is configured, app handling IFTTT capabilities...
Option polling duration is not valid. Please refer to the README.
2018-10-26T01:15:22.779Z - info: openHAB-cloud: express server listening on port 3000
2018-10-26T01:15:22.801Z - info: openHAB-cloud: Redis connect response: OK
2018-10-26T01:15:22.806Z - info: Redis is ready
node_redis: Warning: Redis server does not require a password, but a password was supplied.
2018-10-26T01:15:22.863Z - info: openHAB-cloud: Successfully connected to mongodb
2018-10-26T01:15:23.116Z - warn: openHAB-cloud: GCM XMPP error: XMPP authentication failure
2018-10-26T01:16:22.334Z - debug: openHAB-cloud: Checking for offline openHABs (0)
2018-10-26T01:16:22.335Z - debug: openHAB-cloud: Checking orphaned rest requests (0)

```

But when I visit the URL the server is displaying basic authentication pop-up instead of index.

Please help me out.

Regards!

---

<div class="post-metadata">

**Author:** ![Myjamaica](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@Myjamaica](https://community.openhab.org/u/Myjamaica)\
**Post date:** [November 1, 2018, 3:47am UTC](https://community.openhab.org/t/server-displaying-only-basic-authentication-pop-up-instead-of-index-on-fresh-install/54774/2 "2018-11-01T03:47:02Z")

</div>

Is it because you are proxying port 8443 on your openhab controller instead of port 3000 on your localhost server where nodejs is installed.
