requesting an application page, the response is:
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
However, no logging is occuring in either the /var/log/nginx/access.log
nor /var/log/nginx/error.log
the site-enabled configuration file has the following:
server {
server_name sart.2ld.ws
root /home/deploy/mrkt/current/public;
passenger_enabled on;
passenger_app_env production;
location /cable {
passenger_app_group_name mrkt_websocket;
passenger_force_max_concurrent_requests_per_process 0;
}
# Allow uploads up to 100MB in size
client_max_body_size 100m;
location ~ ^/(assets|packs) {
expires max;
gzip_static on;
}
location ~ /(wp|wp-content|solr|jsonws|mifs|wp-includes|login.asp)/ {
return 404;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/sart.2ld.ws/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/sart.2ld.ws/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = sart.2ld.ws) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name sart.2ld.ws
listen 80;
return 404; # managed by Certbot
}
It is identical to that on another server which is responding as expected.
Note: passenger is also installed.
What further configuration might be needed?
the eyes are on strike type of error:
server_name sart.2ld.ws;
was lacking a semi-colon in the question.