Question

How to tell if server is nginx? I want to make sure I do the correct steps to install ssl certificate.

Posted August 20, 2021 79 views
Ubuntu

How to tell if server running my droplet is nginx? I want to make sure I do the correct steps to install my new ssl certificate.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Assuming you’re able to get into the console with ssh using an account with sudo access, the simplest is probably to run sudo netstat -lntp to show all programs which are currently listening on all TCP ports. Look for one with a “Local Address” on port 80 or 443, then look under “PID/Program name” to see the name of the web server.