How do I find out what version of Apache or nginx web server is used in ElasticBeanStalk?

Spandana Krishnan asked
apache elastic-beanstalk amazon-elastic-beanstalk
via

Following is what I see in Elastic BeanStalk

https://i.stack.imgur.com/2hzlB.png

I’m going through Apache documentation to write Rewrite rules. But I’m confused which version I should read.

http://httpd.apache.org/docs/


Answer
via

Log in via SSH and run:

$ httpd -v

Server version: Apache/2.4.16 (Unix)

See also: eb ssh


If running Nginx, use:

$ nginx -v
Share This
Posted in: