Add minimal working module

This commit is contained in:
2026-01-19 09:41:39 +01:00
parent 1234688921
commit 3d42ad0c19
7 changed files with 127 additions and 102 deletions
+26
View File
@@ -0,0 +1,26 @@
worker_processes 1;
error_log stderr debug;
pid /tmp/nginx.pid;
load_module "/Users/jona/repos/ngx-pow/nginx/objs/ngx_http_pow.so";
events {
worker_connections 1024;
}
http {
access_log /dev/stdout;
server {
listen 80;
server_name localhost;
root /Users/jona/repos/ngx-pow/ngx-http-pow/html;
index index.html;
location / {
try_files $uri $uri/ =404;
}
}
}