Internal inovalon documentation for managing infrastructure.
Inovalon is a healthcare cloud platform.
We run an EC2 instance with CentOs stream 9, nginx, OpenVPN, Docker and SSH.
You don't need to configure Nginx upon installation. However, you should know the location of the configuration files and the Nginx root directory in case you need to modify the configuration.
Nginx configuration directory: /etc/nginx
Nginx root directory: /usr/share/nginx/html
Master/Global configuration file: /etc/nginx/nginx.conf
Other than starting and enabling the Nginx server commands (as discussed above), there are a few more commands that you will find helpful in managing the Nginx server. We are sharing some of them:
To stop the Nginx service, the command would be:
systemctl stop nginx
To restart the Nginx service, the command would be:
systemctl restart nginx
To disable the Nginx service, the command would be:
systemctl disable nginx
When you make any configuration changes, you will need to reload the firewall configuration. Here is the command you can use:
systemctl reload nginx
Source (installing nginx on CentOS)
Use the Private key to SSH into the EC2 instance.
ssh -I inovalon-key.pem ec2-user@x.x.x.x