Hi tyrro
Firstly,I setup a new server with ip:10.211.55.41, and I upgrade php73 to php 74.
tyrro Try removing this line: include common/php73.conf; from your site config file.
ok
tyrro did you issue a separate SSL certificate for your magento install? B/c it's currently looking at 22222 certificate.
No. I test install on local computer, so I did not issue certificate.
tyrro What's the content of your /var/www/10.211.55.41/conf/nginx/ssl.conf file?
there is no such file of ssl.conf at all, only magento.conf file in this direcotry.
tyrro include common/php73.conf; and try running sudo nginx -t again.
so the content in /etc/nginx/sites-available/10.211.55.41 as below now:
server {
server_name 10.211.55.41;
set $MAGE_ROOT /var/www/10.211.55.41/htdocs;
access_log /var/log/nginx/10.211.55.41.access.log rt_cache;
error_log /var/log/nginx/10.211.55.41.error.log;
root /var/www/10.211.55.41/htdocs;
#index index.php index.html index.htm;
#include common/php74.conf;
#include common/locations-wo.conf;
include /var/www/10.211.55.41/conf/nginx/*.conf;
}
Ok, here is output by nginx -t
sudo nginx -t
nginx: [emerg] "root" directive is duplicate in /var/www/10.211.55.41/conf/nginx/magento.conf:29
nginx: configuration file /etc/nginx/nginx.conf test failed