forked from elisiano/docker-nginx-modsecurity
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathecho.conf
52 lines (48 loc) · 1.34 KB
/
echo.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
server {
listen localhost:8080;
server_name localhost;
location / {
default_type text/plain;
return 200 "Thank you for requesting from DEFAULT ${request_uri}\n";
}
location /index.html {
default_type text/plain;
return 200 "Thank you for requesting from DEFAULT INDEX ${request_uri}\n";
}
}
server {
listen localhost:8081;
server_name localhost;
location / {
default_type text/plain;
return 200 "Thank you for requesting from INDIA ${request_uri}\n";
}
location /index.html {
default_type text/plain;
return 200 "Thank you for requesting from INDIA INDEX ${request_uri}\n";
}
}
server {
listen localhost:8082;
server_name localhost;
location / {
default_type text/plain;
return 200 "Thank you for requesting from US ${request_uri}\n";
}
location /index.html {
default_type text/plain;
return 200 "Thank you for requesting from US INDEX ${request_uri}\n";
}
}
server {
listen localhost:8083;
server_name localhost;
location / {
default_type text/plain;
return 200 "Thank you for requesting from Russia ${request_uri}\n";
}
location /index.html {
default_type text/plain;
return 200 "Thank you for requesting from Russia INDEX ${request_uri}\n";
}
}