We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784fd08 commit f6f1de0Copy full SHA for f6f1de0
nginx.conf
@@ -17,15 +17,15 @@ events {}
17
# }
18
19
20
-js_import conf.d/headers.js; # Load JavaScript code from here
21
-js_set $access_headers logging.kvAccess; # Fill variable from JS function
22
-# log_format kvpairs $access_log_headers; # Define special log format
23
-
24
http {
+
+ js_import conf.d/headers.js; # Load JavaScript code from here
+ js_set $access_headers logging.kvAccess; # Fill variable from JS function
25
server {
26
listen 8080;
27
root /usr/share/nginx/html;
28
# access_log /var/log/nginx/access.log kvpairs;
29
return 200 "Request Headers:\n\n$host$request_uri\n\n$$access_headers";
30
}
31
-}
+}
0 commit comments