mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
32 lines
799 B
Plaintext
32 lines
799 B
Plaintext
load_module /usr/lib/nginx/modules/ngx_http_lua_module.so;
|
|
|
|
#daemon on;
|
|
|
|
pid /tmp/nginx-temp.pid;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
use epoll;
|
|
}
|
|
|
|
http {
|
|
proxy_temp_path /tmp/proxy_temp;
|
|
client_body_temp_path /tmp/client_temp;
|
|
fastcgi_temp_path /tmp/fastcgi_temp;
|
|
uwsgi_temp_path /tmp/uwsgi_temp;
|
|
scgi_temp_path /tmp/scgi_temp;
|
|
lua_package_path "/opt/bunkerized-nginx/lua/?.lua;/opt/bunkerized-nginx/plugins/?.lua;/opt/bunkerized-nginx/deps/lib/lua/?.lua;;";
|
|
lua_package_cpath "/opt/bunkerized-nginx/deps/lib/?.so;/opt/bunkerized-nginx/deps/lib/lua/?.so;;";
|
|
server {
|
|
listen 0.0.0.0:%HTTP_PORT% default_server;
|
|
server_name _;
|
|
location ~ ^/.well-known/acme-challenge/ {
|
|
root /opt/bunkerized-nginx/acme-challenge;
|
|
}
|
|
%USE_API%
|
|
location / {
|
|
return 444;
|
|
}
|
|
}
|
|
}
|