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

Love Service needs to be accessible from outside of the docker internal network #89

Open
Nycz-lab opened this issue Oct 30, 2024 · 0 comments

Comments

@Nycz-lab
Copy link

The Love Server mentioned in the README needs to be remotely accessible it seems.

Therefore simply passing the docker internal domain and port wont work as the browser will try to reach the domain which is unaccessible.

Therefore it should be declared inside the docker compose similar to the other remotely accessible services:
LOVE_ENDPOINT=${NGINX_HTTP_SCHEME}://${SERVER_ADDRESS}/_love

And there should also be a nginx rule supporting this similar to:

location /_love{
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

    rewrite ^/_accounts(/.*)$ $1 break;
    proxy_pass http://love:8096/;
}

^^

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

1 participant