mescon / Muximux

A lightweight way to manage your HTPC
GNU General Public License v2.0
1.14k stars 83 forks source link

after login page doesn't refresh #139

Open wiscokidd opened 7 years ago

wiscokidd commented 7 years ago

After I enter my login credentials the browser loads a white page. If I refresh the page it loads fine. If I close the window without logging out I can open it back up and the page will load fine. It seems to happen when /index.php is in the url. I use nginx and I am still pretty new to using it so maybe its an issue with my server block. If anyone could help me out I would appreciate it.

Here is my server block:

server{
    listen 443 ssl;
    root /var/www/muximux;
    index index.php index.html index.htm;
    server_name mydomain.com www.mydomain.com;
    ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem;
    access_log  /var/log/nginx/mydomain.com_access.log;
    error_log   /var/log/nginx/mydomain.com_error.log;
    error_page 404 /404.html;
    error_page 500 502 503 504 /50x.html;
    location / {
        try_files $uri $uri/ =404;
    }
    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    }
    location ~ /\.ht {
        deny all;
    }
}
saitoh183 commented 7 years ago

same problem here

d8ahazard commented 6 years ago

Heeeeey. I'm alive. @mescon - Check gitter, been trying to chat you up.

Working on the redirect stuff, will make a note of this.