keystone-classic icon indicating copy to clipboard operation
keystone-classic copied to clipboard

Blank Login Page

Open Zedonboy opened this issue 6 years ago • 5 comments

Expected behavior

During Development, I see login page @"/keystone/siginin"

During production behind Nginx Proxy.... i get this blank Page

with 'qs' module not found" error @ the browser debugger console.

Please can you tell me whats wrong.... i have seen some solutions, but i cannot meddle with keystone npm package

Actual/Current behavior

Steps to reproduce the actual/current behavior

Environment

Software Version
Keystone
Node.js
Browser

Zedonboy avatar Apr 01 '19 13:04 Zedonboy

@Zedonboy, were you able to figure out this issue?

autoboxer avatar Apr 10 '19 14:04 autoboxer

@autoboxer No.... (am working on my own custom signin page....)

Zedonboy avatar Apr 12 '19 04:04 Zedonboy

I didn't face any such issue

abhijithvijayan avatar Apr 21 '19 08:04 abhijithvijayan

@abhijithvijayan is your keystone behind a proxy (Nginx)?....

if there's no issue, let me see ur nginx config file

Zedonboy avatar Apr 21 '19 14:04 Zedonboy

@abhijithvijayan is your keystone behind a proxy (Nginx)?....

if there's no issue, let me see ur nginx config file

Yes, I use nginx. Here's my config.

server {
       listen 80;
       listen [::]:80;
       server_name example.com www.example.com;
       root /var/www/example.com;
       index index.html;

    location / {
        proxy_pass http://localhost:5000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}

I run the app at port 5000

abhijithvijayan avatar Apr 21 '19 15:04 abhijithvijayan