Installation succeed but loop back to install.php
When I follow the installation procedure, I successfully go to step 3. Then it says everything's alright now and that I can access the Jirafeau instance. However, when I got to the bare domain I'm always redirected to the install.php file.
Here are my Nginx vhost:
server {
listen 80;
listen [::]:80;
server_name REDACTED;
access_log /dev/null;
error_log /dev/null emerg;
# Let's Encrypt webroot
include modules/letsencrypt-webroot;
# Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name REDACTED;
# Let's Encrypt webroot
include modules/letsencrypt-webroot;
# certs sent to the client in SERVER HELLO are concatenated in ssl_certificate
ssl_certificate /etc/ssl/lets-encrypt/REDACTED/cert;
ssl_certificate_key /etc/ssl/lets-encrypt/REDACTED/key;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
ssl_session_tickets off;
# modern configuration. tweak to your needs.
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA256:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA;
ssl_prefer_server_ciphers on;
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months, 31536000 seconds = 1 year)
add_header Strict-Transport-Security max-age=31536000;
# OCSP Stapling ---
# fetch OCSP records from URL in ssl_certificate and cache them
ssl_stapling on;
ssl_stapling_verify on;
## verify chain of trust of OCSP response using Root CA and Intermediate certs
ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
resolver REDACTED REDACTED REDACTED;
# Maximum file upload size is 4MB - change accordingly if needed
client_max_body_size 64M;
client_body_buffer_size 256k;
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_comp_level 6;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
add_header Referrer-Policy origin always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-XSS-Protection "1; mode=block" always;
access_log /var/log/nginx/REDACTED/access.log;
error_log /var/log/nginx/REDACTED/error.log;
root /home/REDACTED/REDACTED/Jirafeau/;
index index.php;
location ~ /var-.* {
deny all;
return 404;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_pass unix:/run/php/REDACTED.sock;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
And here is the successfully created lib/config.local.php
:
<?php
/* This file was generated by the install process. You can edit it. Please see config.original.php to understand the configuration items. */
$cfg = array (
'web_root' => 'REDACTED/',
'var_root' => '/home/REDACTED/REDACTED/Jirafeau/var-bUrmxTF27mPLUqg/',
'lang' => 'auto',
'style' => 'courgette',
'organisation' => 'REDACTED',
'contactperson' => 'REDACTED',
'title' => '',
'preview' => true,
'enable_crypt' => false,
'link_name_length' => 8,
'upload_password' =>
array (
),
'upload_ip' =>
array (
),
'upload_ip_nopassword' =>
array (
),
'admin_password' => 'REDACTED',
'admin_http_auth_user' => '',
'availabilities' =>
array (
'minute' => true,
'hour' => true,
'day' => true,
'week' => true,
'fortnight' => true,
'month' => true,
'quarter' => false,
'year' => false,
'none' => false,
),
'availability_default' => 'month',
'one_time_download' => true,
'maximal_upload_size' => 0,
'proxy_ip' =>
array (
),
'file_hash' => 'md5',
'litespeed_workaround' => false,
'store_uploader_ip' => true,
'installation_done' => true,
'debug' => false,
);
Thanks in advance for your help!