一、簡介
1、tomcat
The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. The Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket specifications are developed under the Java Community Process.
2、nginx
NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.
二、相同
都是HTTP服務器。
三、不同
1、tomcat是Servlet容器,可以做靜態頁面,也可以做動態JSP頁面。
2、nginx只能做靜態頁面。