nginx
寰宇的行者
当学习成为一种习惯
展开
-
Nginx, PHP Windows, No input file specified 问题解决
只要将nginx下的配置文件,nginx.conf 改成下面的形式,即将root 放到location /上方server { ... root c:/Users/Youri/PhpstormProjects; location / { index index.html index.htm index.php; } loc...转载 2020-02-04 10:56:02 · 1664 阅读 · 0 评论 -
nginx服务器使用tomcat——nginx的反向代理。
如果在nginx 服务器上想跑tomcat,当你配置了tomcat,你可能会用8080端口对tomcat进行访问,这样就会有点麻烦,nginx服务器是在80端口,tomcat在8080,怎么合并呢,可以通过下面的配置代码,用nginx的方向代理,实现通过80端口访问tomcat。user nobody;worker_processes 1;events { worker_c...原创 2020-01-27 13:41:23 · 306 阅读 · 0 评论