simplify conf add ssl hook server

This commit is contained in:
2021-05-24 15:53:49 +00:00
parent 04211ed730
commit e9ce546b85
4 changed files with 18 additions and 9 deletions

View File

@@ -115,6 +115,21 @@ ldap_server fet {
require valid_user;
}
resolver 127.0.0.11 valid=30s; # use the docker resolver as a default
server {
listen 127.0.0.1:8999;
# Increase the body buffer size, to ensure the internal POSTs can always
# parse the full POST contents into memory.
client_body_buffer_size 128k;
client_max_body_size 128k;
location / {
content_by_lua_block {
auto_ssl:hook_server()
}
}
}
include /etc/nginx/conf.d/*.conf;
# Don't reveal OpenResty version to clients.