Add minimal working module
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user