first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
28
nginx/CVE-2017-7529/default.conf
Normal file
28
nginx/CVE-2017-7529/default.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
proxy_cache_path /tmp/nginx levels=1:2 keys_zone=cache_zone:10m;
|
||||
proxy_cache_valid 200 10m;
|
||||
|
||||
server {
|
||||
listen 8081;
|
||||
server_name localhost;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
server {
|
||||
listen 8080;
|
||||
server_name localhost;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8081/;
|
||||
proxy_set_header HOST $host;
|
||||
proxy_cache cache_zone;
|
||||
add_header X-Proxy-Cache $upstream_cache_status;
|
||||
proxy_ignore_headers Set-Cookie;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user