mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
Initial version of nginx parser roundtrip test
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
http {
|
||||
geo $lb {
|
||||
default 0;
|
||||
10.1.1.1/32 1; # LB IPs
|
||||
10.1.1.2/32 1;
|
||||
}
|
||||
|
||||
# ...
|
||||
|
||||
server {
|
||||
# ...
|
||||
access_log /path/to/log;
|
||||
error_page 400 /400;
|
||||
|
||||
location = /400 {
|
||||
if ($lb) {
|
||||
access_log off;
|
||||
}
|
||||
return 400;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user