server {

listen 80;
server_name localhost;

client_max_body_size 35m;

location / {
root /usr/share/nginx/html;
}

# gblfy-approval-api
location /djppmc/approval/api {
proxy_pass http://gblfy-approval-api-dev;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

# gblfy-inquiry-api
location /djppmc/inquiry/api {
proxy_pass http://gblfy-inquiry-api-dev;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

# gblfy-endorse-api
# location /djppmc/endorse/api {
# proxy_pass http://gblfy-endorse-api-dev;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# }

# gblfy-claim-api
# location /djppmc/claim/api {
# proxy_pass http://gblfy-claim-api-dev;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# }

# gblfy-finance-api
# location /djppmc/finance/api {
# proxy_pass http://gblfy-finance-api-dev;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# }

##########################################################
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
#root html;
root /usr/share/nginx/html;
}
}