Skip to content

Locations Parse - /etc/nginx/conf.d/www.url.conf #1587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lowgator opened this issue Apr 21, 2016 · 1 comment
Closed

Locations Parse - /etc/nginx/conf.d/www.url.conf #1587

lowgator opened this issue Apr 21, 2016 · 1 comment

Comments

@lowgator
Copy link

lowgator commented Apr 21, 2016

Can you have more than one location under the file /etc/nginx/conf.d/www.url.conf

I get error message on the dashboard for my second added app that reads:

Server not reachable: server version too low

Example:

location /app2/ {
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-NginX-Proxy true;
                proxy_pass http://localhost:1338/parse/;
                proxy_ssl_session_reuse off;
                proxy_set_header Host $http_host;
                proxy_redirect off;
        }


   location /app1/ {
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-NginX-Proxy true;
                proxy_pass http://localhost:1337/parse/;
                proxy_ssl_session_reuse off;
                proxy_set_header Host $http_host;
                proxy_redirect off;
        }
@hramos
Copy link
Contributor

hramos commented Apr 21, 2016

Closing this as it is not a Parse Server specific issue. You may use Server Fault for questions about managing Parse Server, including nginx configuration.

For code-level and/or implementation-related questions or technical support, please refer to Stack Overflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants