基础配置nginx,并且解决其中出现的各种错误

it2025-10-29  7

http://www.seekl.net/

根据以上地址配置nginx可能出现的各种错误:

1 make: *** No targets specified and no makefile found. Stop.错误解决办法

https://blog.csdn.net/weiyangdong/article/details/79203712

2./configure: error: SSL modules require the OpenSSL library.

执行 yum -y install openssl openssl-devel ./configure

3 重启nginx之后出现错误Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid

https://www.cnblogs.com/keefer/p/6188427.html

4 配置路由,只需要在nginx.conf里面文件

#路由的条件,当地址有cloud-mall就会自动路由到你需要的ip上 location ^~ /cloud-mall { proxy_pass http://你自己需要路由到的ip+端口号; proxy_redirect default; }
最新回复(0)