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 14b7e5b commit 3f88b47Copy full SHA for 3f88b47
realip.t
@@ -41,13 +41,8 @@ http {
41
42
server {
43
listen 127.0.0.1:8080;
44
- listen 127.0.0.1:8081;
45
server_name localhost;
46
47
- if ($server_port = 8081) {
48
- return 204;
49
- }
50
-
51
location / { }
52
location /custom {
53
real_ip_header X-Real-IP-Custom;
@@ -63,6 +58,13 @@ http {
63
58
real_ip_recursive on;
64
59
}
65
60
61
+
62
+ server {
+ listen 127.0.0.1:8081;
+ server_name localhost;
66
+ return 204;
67
+ }
68
69
70
EOF
0 commit comments