A few weeks ago I configured an ec2 server on AWS and database is on RDS and I use nginx as web server. When i reboot server from the AWS console my nginx wont restart automatically. I did this using service nginx start command.
Is there any way to configure nginx server, So it restarted when i reboot my ec2 instance