Skip to content
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

Synhrony #59

Open
AlexanderBurdenko opened this issue Oct 18, 2017 · 3 comments
Open

Synhrony #59

AlexanderBurdenko opened this issue Oct 18, 2017 · 3 comments

Comments

@AlexanderBurdenko
Copy link

Hello! i have some problem, sorry if i wrong place. But i use your image with some changes.
Problem with synhrony. I use nginx-proxy/jwilder. Maybe somebody can tell how create redirect on synhrony. Because i read that need create location with synhrony but in nginx-proxy i cant do it. Thank you.

@mnacharov
Copy link

Hello!

Make sure you add "EXPOSE 8091" to your Dockerfile, it's not specified in this project

And here is the sample on my nginx location block for synhrony

location /synchrony {
    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Server $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass http://localhost:8091/synchrony;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
}

@AlexanderBurdenko
Copy link
Author

You use jwilder/nginx-proxy or only nginx ? I read about this, but i use jwilder/nginx-proxy, and it's create only for port 8090, when i try write 8091 i have some error.

@mnacharov
Copy link

I haven't used jwilder/nginx-proxy, can't help you with it..

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