location /mifosx { alias /srv/mifosx/community-app; } location /fineract-provider { proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Host $host:$server_port; proxy_set_header X-Forwarded-Proto https; proxy_pass http://127.0.0.1:9080; }