-
Notifications
You must be signed in to change notification settings - Fork 64
Manual Installation
Xtrendence edited this page Jul 8, 2021
·
1 revision
Credit to @tandy-1000 for this guide.
wget https://www.github.com/Xtrendence/Cryptofolio/releases/latest/download/API-And-Website.zip
mkdir /var/www/cryptofolio
mkdir /var/www/cryptofolio/html
mv Cryptofolio/api /var/www/cryptofolio/html
mv Cryptofolio/website /var/www/cryptofolio/html
chown -R www-data:www-data /var/www/cryptofolio
/etc/nginx/conf.d/cryptofolio.conf/
server {
listen 8006;
root /var/www/cryptofolio/html/;
location / {
root /var/www/cryptofolio/html/website/;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location /api {
alias /var/www/cryptofolio/html/api/;
}
location ~ \.php(?:$|/) {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
}
systemctl reload nginx