chore: update
This commit is contained in:
27
conf/howto.conf
Normal file
27
conf/howto.conf
Normal file
@ -0,0 +1,27 @@
|
||||
# Add the path to your library here.
|
||||
load_module %PATH_TO_LIB%;
|
||||
|
||||
worker_processes 1;
|
||||
|
||||
events {}
|
||||
|
||||
#Uncomment and add a log file path if desired
|
||||
#error_log %PATH_TO_LOG% debug;
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 8888;
|
||||
|
||||
return 418 "proxy passed to backend\n";
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
|
||||
location / {
|
||||
howto "GET";
|
||||
|
||||
proxy_pass http://localhost:8888;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user