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/
How to Check If You're Running Nginx or Apache. On most websites, you can simply check the server HTTP header to see if it says Nginx or Apache. You can see HTTP headers by launching the network tab in Chrome Devtools. Or you can check headers in a tool like Pingdom or GTmetrix.
At serving static content, Nginx is the king! It performs 2.5 times faster than Apache according to a benchmark test running up to 1,000 simultaneous connections. Nginx serves the static resources without PHP having to know about this. On the other hand, Apache handles all those requests with that costly overhead.
Elastic Beanstalk can use nginx or Apache HTTPD as the reverse proxy to map your application to your Elastic Load Balancing load balancer on port 80. The default is nginx.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With