Hello Zer0Down
I tried lots of times, but still fail, and it would be great if you can share your FULL conf file and setting details, here are what I did, and glad to have your comments or instructions:
1# I create a mysql site by wo site create mysite.com --mysql --php74
2# upload magento file to htdocs directory.
3# upload the magento file to /var/www/site.ltd/nginx/magento.conf, would you please confirm it is /var/www/site.ltd/nginx/magento.conf, but not /var/www/site.ltd/magento.conf?
4#Here are full content in both /var/www/site.ltd/nginx/magento.conf and /etc/nginx/sites-available/domain.tld:
server {
server_name 10.211.55.40;
set $MAGE_ROOT /var/www/10.211.55.40/htdocs;
access_log /var/log/nginx/10.211.55.40.access.log rt_cache;
error_log /var/log/nginx/10.211.55.40.error.log;
# root /var/www/10.211.55.40/htdocs;
#index index.php index.html index.htm;
include common/php73.conf;
include common/locations-wo.conf;
include /var/www/10.211.55.40/conf/nginx/*.conf;
}
5# sudo php '/var/www/10.211.55.40/htdocs/bin/magento' setup:store-config:set --base-url-secure="http://10.211.55.40/"
6# sudo wo clean --all
But the magento setup-wizard page show error:
http://prntscr.com/v9uih9
It would be great if you can share your detailed setting, alternatively Updating the following tutorial would be great appreciated:
https://anystack.xyz/setup-magento-2-easyengine-nginx-redis-cache/
Have a nice day.