hi!
I hope this post finds you all well. I manage a small journal (non profit, minimal resources) and we have our mail with mail in a box (contacto@lenguasradicales.cl). After updating to OJS 3.3.0-10 the site redirects to my github, which is the default for another site I have in the same server.
This is my NGINX configuration file
server {
server_name ojs.lenguasradicales.cl; #change your domain here
root /home/administrador/ojs.lenguasradicales.cl/ojs-current; #change the path to your site's root directory, where config.inc.php resides
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ ^(.+\.php)(.*)$ {
set $path_info $fastcgi_path_info;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $path_info;
fastcgi_param PATH_TRANSLATED $document_root$path_info;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~ /\.ht {
deny all;
}
access_log /var/log/nginx/access-ojssite.log;
error_log /var/log/nginx/error-ojssite.log;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/ojs.lenguasradicales.cl/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/ojs.lenguasradicales.cl/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = ojs.lenguasradicales.cl) {
return 301 https://$host$request_uri;
} # managed by Certbot
listen 80;
server_name ojs.lenguasradicales.cl;
return 404; # managed by Certbot
}
How can I get the OJS site to work again?
Also, where should I indicate the new OJS files directory? I already restored the SQL dump I created just in case alongside a copy of all the files.