Answer the question
In order to leave comments, you need to log in
Nginx gives a default config, how can I fix it?
Nginx gives default page instead of index.php passbolt.
(the passbolt was installed successfully)
There is silence in the logs. Directory permissions are set for nginx:nginx.
ln -s /etc/nginx/sites-enabled/passbolt /etc/nginx/sites-available/passbolt - done.
In nginx.conf included config
sites-available/passbolt:include /etc/nginx/sites-available/*.conf;
server {
listen 80;
server_name localhost default_server;
root /var/www/passbolt/app/webroot/;
index index.php;
access_log /var/www/passbolt/log/access.log;
error_log /var/www/passbolt/log/error.log;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
try_files $uri =404;
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
Answer the question
In order to leave comments, you need to log in
add .conf to passbolt if no format is specified. reload + restart.
according to the idea, sites-enabled/*.conf are connected, and disabled configs are in sites-available.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question