2025-09-27 15:14:13 +08:00
|
|
|
worker_processes 1;
|
|
|
|
|
|
2025-09-27 23:43:35 +08:00
|
|
|
#worker_rlimit_nofile 65535;
|
2025-09-27 15:14:13 +08:00
|
|
|
|
2025-09-25 13:56:33 +08:00
|
|
|
events {
|
2025-09-27 15:14:13 +08:00
|
|
|
worker_connections 1024;
|
2025-09-25 13:56:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
http {
|
2025-10-15 17:05:35 +08:00
|
|
|
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;;';
|
2025-09-25 13:56:33 +08:00
|
|
|
|
2025-10-14 14:45:47 +08:00
|
|
|
# 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;
|
|
|
|
|
|
2025-09-25 13:56:33 +08:00
|
|
|
server {
|
2025-09-27 15:14:13 +08:00
|
|
|
listen 9080;
|
2025-09-27 23:43:35 +08:00
|
|
|
server_name 127.0.0.1;
|
2025-09-25 13:56:33 +08:00
|
|
|
default_type text/html;
|
2025-09-27 23:43:35 +08:00
|
|
|
location = /favicon.ico {
|
|
|
|
|
log_not_found off;
|
|
|
|
|
access_log off;
|
|
|
|
|
}
|
2025-10-15 17:05:35 +08:00
|
|
|
|
|
|
|
|
include 'system/user.conf';
|
2025-09-25 13:56:33 +08:00
|
|
|
}
|
2025-09-27 15:14:13 +08:00
|
|
|
}
|