AuthPlatform/conf/nginx.conf

33 lines
897 B
Nginx Configuration File

worker_processes 1; #nginx worker 数量
error_log logs/error.log; #指定错误日志文件路径
#worker_rlimit_nofile 65535;
events {
worker_connections 1024;
}
http {
lua_package_path '$prefix/src/?/?.lua;$prefix/src/?.lua;/home/frankly/work/AuthPlatform/src/?.lua;/home/frankly/work/AuthPlatform/src/?/?.lua;;';
lua_package_cpath '$prefix/src/share/lib/?.so;;';
# Path of the file with trusted CA certificates.
#lua_ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
# The verification depth in the server certificates chain.
#lua_ssl_verify_depth 3;
server {
listen 9080;
server_name 127.0.0.1;
default_type text/html;
location = /favicon.ico {
log_not_found off;
access_log off;
}
include 'system/user.conf';
include 'system/test.conf';
}
}