Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Infinite redirect loop on fresh installation of Grav

Started by Virgil Ierubino 9 years ago · 3 replies · 1230 views
9 years ago

I'm a bit new to this, but I've followed instructions to the tee, and I just simply cannot get a grav install to work.

I have freshly installed PHP and Nginx on a fresh Ubuntu image. I've downloaded Grav and unzipped it to /var/www/html/grav

Navigating to localhost/grav gives me an infinite redirect!

Please help :(

9 years ago

What does your Nginx configuration look like?

9 years ago

user www-data;
worker_processes auto;
pid /run/nginx.pid;

events {
worker_connections 768;
}

http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;

TXT
    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
    ssl_prefer_server_ciphers on;

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    gzip on;
    gzip_disable "msie6";

    include /etc/nginx/conf.d/*.conf;
    include /etc/nginx/sites-enabled/*;

}

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by DrPen, 6 days ago
4 116 4 days ago
Installation & Hosting · by vollstock, 3 weeks ago
3 220 3 weeks ago
Installation & Hosting · by David, 7 years ago
3 3507 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
3 344 1 month ago
Installation & Hosting · by David Meissner, 1 month ago
0 268 1 month ago