Skip to content

Commit a64a7cb

Browse files
committed
added more space by proxy pass
1 parent d414515 commit a64a7cb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/waf/configure/nginx-features.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ http {
6464
app_protect_enable on;
6565
6666
location / {
67-
proxy_pass http://127.0.0.1:8080/foo/$request_uri;
67+
proxy_pass http://127.0.0.1:8080/foo/$request_uri;
6868
}
6969
}
7070
server {
@@ -147,7 +147,7 @@ http {
147147
148148
location / {
149149
app_protect_enable on;
150-
proxy_pass http://127.0.0.1:8081$request_uri;
150+
proxy_pass http://127.0.0.1:8081$request_uri;
151151
}
152152
}
153153
@@ -156,7 +156,7 @@ http {
156156
server_name localhost;
157157
158158
location / {
159-
proxy_pass http://1.2.3.4$request_uri;
159+
proxy_pass http://1.2.3.4$request_uri;
160160
slice 2;
161161
proxy_set_header Range $slice_range;
162162
}
@@ -204,7 +204,7 @@ http {
204204
205205
location / {
206206
app_protect_enable on;
207-
proxy_pass http://127.0.0.1:8081$request_uri;
207+
proxy_pass http://127.0.0.1:8081$request_uri;
208208
}
209209
}
210210
@@ -231,10 +231,10 @@ http {
231231
232232
location / {
233233
auth_request /scan;
234-
proxy_pass http://localhost:8888;
234+
proxy_pass http://localhost:8888;
235235
}
236236
location /scan {
237-
proxy_pass http://localhost:8081$request_uri;
237+
proxy_pass http://localhost:8081$request_uri;
238238
}
239239
}
240240
@@ -244,7 +244,7 @@ http {
244244
245245
location /scan {
246246
app_protect_enable on;
247-
proxy_pass http://localhost:8888;
247+
proxy_pass http://localhost:8888;
248248
}
249249
}
250250
}
@@ -273,7 +273,7 @@ http {
273273
274274
location / {
275275
app_protect_enable on;
276-
proxy_pass http://127.0.0.1:8080/proxy/$request_uri;
276+
proxy_pass http://127.0.0.1:8080/proxy/$request_uri;
277277
}
278278
279279
location /proxy {

0 commit comments

Comments
 (0)