{"action":"opened","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1587","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1587/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1587/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1587/events","html_url":"https://github.com/ParsePlatform/parse-server/issues/1587","id":150192300,"number":1587,"title":"Locations Parse -  /etc/nginx/conf.d/www.url.conf","user":{"login":"bigdoghung","id":18537630,"avatar_url":"https://avatars.githubusercontent.com/u/18537630?v=3","gravatar_id":"","url":"https://api.github.com/users/bigdoghung","html_url":"https://github.com/bigdoghung","followers_url":"https://api.github.com/users/bigdoghung/followers","following_url":"https://api.github.com/users/bigdoghung/following{/other_user}","gists_url":"https://api.github.com/users/bigdoghung/gists{/gist_id}","starred_url":"https://api.github.com/users/bigdoghung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigdoghung/subscriptions","organizations_url":"https://api.github.com/users/bigdoghung/orgs","repos_url":"https://api.github.com/users/bigdoghung/repos","events_url":"https://api.github.com/users/bigdoghung/events{/privacy}","received_events_url":"https://api.github.com/users/bigdoghung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-21T21:10:54Z","updated_at":"2016-04-21T21:10:54Z","closed_at":null,"body":"Can you have more than one location under the file /etc/nginx/conf.d/www.url.conf\r\n\r\nExample:\r\n\r\n   location /app2/ {\r\n                proxy_set_header X-Real-IP $remote_addr;\r\n                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n                proxy_set_header X-NginX-Proxy true;\r\n                proxy_pass http://localhost:1338/parse/;\r\n                proxy_ssl_session_reuse off;\r\n                proxy_set_header Host $http_host;\r\n                proxy_redirect off;\r\n        }\r\n\r\n\r\n   location /app1/ {\r\n                proxy_set_header X-Real-IP $remote_addr;\r\n                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n                proxy_set_header X-NginX-Proxy true;\r\n                proxy_pass http://localhost:1337/parse/;\r\n                proxy_ssl_session_reuse off;\r\n                proxy_set_header Host $http_host;\r\n                proxy_redirect off;\r\n        }\r\n"}}