traggo/server

Using The App with Nginx Proxy Manager

Shahin-rmz opened this issue · 8 comments

Have you read the documentation?

  • Yes, but it does not include related information regarding my question.
  • Yes, but the steps described in the documentation do not work on my machine.
  • Yes, but I am having difficulty understanding it and want clarification.

You are setting up traggo in

  • Docker
  • Linux native platform
  • Windows native platform

Describe your problem
A clear and concise description of what the question is.
I can rund and reach traggo locally, but have problem see

Any errors, logs, or other information that might help us identify your problem
Don't know exacly to check errors
Ex: docker-compose.yml, nginx.conf, browser requests, etc.

Hello,
I installed the app, and it works smoothly.
The only catch is, I can not connect the app to a subdomain through nginx proxy manager.
I have already tried to put this part, on Advanced section of Nginx Proxy manager but it didn't work.
image

Any idea what is my problem? I get Error 502.
Port is open and config is like other selfhosted services.

Hello, any tips is welcome.
I'm a bit stock and don't know what is the problem actually.

Can you access traggo directly via localhost:3030? Add all configuration related to traggo, docker-compose.yml etc. does traggo output any logs? You can have a look at this with docker logs.

yes, it works perfectly localhost.
Just when I add the configs from here to my Nginx P. M. with this config
image

it doesn't work.

If traggo is working, then there is something wrong with your reverse proxy setup. Traggo isn't the cause for this. Your proxy manager most likely cannot access traggo via localhost:3030, because it runs in a different container.

yes, there is no problem with traggo itself.
and yes it is different container.
What is the solution? I'm clueless a bit, and don't know even what to search.

Do you have other services that use the nginx proxy manager? Integrating traggo should be similar to this. The traggo container and the proxy manager have to be on the same docker network, then you can use the name of the docker container instead of localhost.

Do you have other services that use the nginx proxy manager?

yes

then you can use the name of the docker container instead of localhost.

I think now I get what is problem. I had problems to connect networks to my Nginx Proxy Manager.
lack of Devops knowledge.
I will try to connect them via network, and write the name (or ip) of traggo inside the configs.
Thanks.

it should be as following:
scheme: http
forward hostname: /IP
forward port: 3030