blob: b413cb4cf8fd15600db763f9cf66ffd706a8e22a [file]
# the following configuration is for redirect test
server {
listen 81;
server_name localhost;
access_log /tmp/forward-access.log;
error_log /tmp/forward-error.log;
location / {
client_max_body_size 1024M;
# forward all other requests to port 80
proxy_pass http://127.0.0.1:80;
}
location /health {
access_log off;
add_header 'Content-Type' 'application/json';
return 200 '{"status":"UP"}';
}
}