Search code examples
apacheamazon-elastic-beanstalk

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


Following is what I see in Elastic BeanStalk

https://i.sstatic.net/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/


Solution

  • 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