Hi guys,
I’m using Ubuntu with Ajenti V ( Nginx web server )
I’m getting the error below when i visit my url to setup InvoicePlane. Any help Please.
Thanks Guys
The invoice.mydomain.com page isn’t working
invoice.mydomain.com is currently unable to handle this request.
HTTP ERROR 500
My index.php
define(‘IP_URL’, ‘https://invoice.mydomain.com’);
My config.php
$config[‘base_url’] = https://invoice.mydomain.com;
My config
#AUTOMATICALLY GENERATED - DO NO EDIT!
server {
listen 80;
server_name invoice.mydomain.com;add ssl settings
return 301 https://invoice.mydomain.com$request_uri;
}
server {
listen *:443 ssl;
ssl_certificate /etc/letsencrypt/live/invoice.mydomain.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/invoice.mydomain.com/privkey.pem;
server_name invoice.mydomain.com;
access_log /var/log/nginx/invoice.access.log; error_log /var/log/nginx/invoice.error.log;
root /srv/invoice; index index.html index.htm index.php;
fastcgi_read_timeout 600;
client_max_body_size 100M;
index index.php;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
ssl on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_prefer_server_ciphers On;
ssl_session_cache shared:SSL:128m;
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.8 8.8.4.4 valid=300s;
location ~ [^/]\.php(/|$) { fastcgi_index index.php; include fcgi.conf; fastcgi_pass unix:/var/run/ajenti-v-php7.0-fcgi-invoice-php7.0-fcgi-0.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}