New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NGINX Installation #62
Comments
By manually installing you mean install via cli or web installer? |
Manual/CLI: Installer: |
Do you have adjusted the nginx configutation according to the file https://github.com/SergiX44/XBackBone/blob/master/nginx.conf? When using CLI, try to remove deleting manually the Thanks. |
Will try that in the evening, thanks! |
For nginx i have the same automatic slim error, but manually worked as expected. I did have to create the ./storage folder and |
@dirtycajunrice Thanks for the input! I touched the db file and made the directory storage. I also edited the nginx config to suit the XBackBone one. Now when entering the site after the cli installation it redirects to /login resulting in a 500 error. The nginx log says following:
|
@BeerGrizzly Hmm... Not sure. Lemme share with you my nginx config and my config.php and see if you have any odd differences. I also noticed you said you changed user login for the sqlite file in config.php (unless you are using mysql). Just leave it null. nginx: server {
listen 443;
root /config/www/xbackbone;
index index.html index.htm index.php;
server_name images.domain.tld;
ssl_certificate /config/keys/domain.tld/fullchain.pem;
ssl_certificate_key /config/keys/domain.tld/privkey.pem;
ssl on;
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
access_log /config/log/nginx/xbackbone.access.log;
error_log /config/log/nginx/xbackbone.error.log;
charset utf-8;
error_page 404 /index.php;
client_max_body_size 2G;
include includes/dns_set;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
autoindex off;
location ~ ^/(app|bin|bootstrap|resources|storage|vendor|logs) {
return 403;
}
} config.php
|
Thats weird, I mean i got the exact same nginx config (besides the fastcgi_pass configured to the php fpm socket) and xbackbone config. |
also sergi that location block at the bottom might clean up the look of your example a bit 😄 |
Please try to install it manually, and make sure that the extensions php-intl, php-sqlite and php-json are installed. |
Thanks a lot for the php-intl tip, didn't know it was needed. All working now👍 |
I'll keep this open as reminder to fix the web installer. |
|
System Info
After installing manually with sqlite i can't access the xbackbone/home url (Error 404).
When automatically installing there is a slim error:
Thanks for your help🙂
The text was updated successfully, but these errors were encountered: