本文共 658 字,大约阅读时间需要 2 分钟。
技术交流QQ群【JAVA,C++,Python,.NET,BigData,AI】:170933152
这个是我们做智慧城市的时候用到的配置文件,当时配置出了一堆问题,
记录下来,以后要用,直接copy
nginx.conf
#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; sendfile on; 转载地址:http://dgcfk.baihongyu.com/