Skip to content

Instantly share code, notes, and snippets.

Last active December 6, 2017 09:40
What would you like to do?
server {
server_name notification_proxy;
listen 8117;
location / {
resolver ipv6=off;
set_by_lua_block $proxy_addr {
return ngx.unescape_uri(ngx.var.arg_address)
proxy_pass $proxy_addr;
proxy_ssl_server_name on;
proxy_ssl_certificate /etc/nginx/certs/client.cert.pem;
proxy_ssl_certificate_key /etc/nginx/certs/client.key.pem;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment