Reactive-Resume: Gateway error

I manage to load the containers but can’t connect to the web-UI. In my case i already have Traefik in my environment as a reverse proxy. I would like to have a docker-compose file without Traefik installing as a container, cause i already have Traefik running as i said. If someone could show me which lines i have to delete or add for the containers to work and be accessible through a WEB UI it would be nice.

This is how i do it with Portainer and it works. Portainer and Traefik are on the same Docker machine.

labels: - “traefik.enable=true” - “traefik.http.routers.portainer.entrypoints=http” - “traefik.http.routers.portainer.rule=Host(portainer.local.example.com)” - “traefik.http.middlewares.portainer-https-redirect.redirectscheme.scheme=https” - “traefik.http.routers.portainer.middlewares=portainer-https-redirect” - “traefik.http.routers.portainer-secure.entrypoints=https” - “traefik.http.routers.portainer-secure.rule=Host(portainer.local.example.com)” - “traefik.http.routers.portainer-secure.tls=true” - “traefik.http.routers.portainer-secure.service=portainer” - “traefik.http.services.portainer.loadbalancer.server.port=9000” - “traefik.docker.network=proxy”

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

AmruthPillai

Hi AmruthPillai,

I think we don’t understand each other here. Everything is working fine if, i use localhost and port number for both server and client. No problems were mentioned in the logs. The only problem is that i can’t log in or register if i use localhost. Someone mentioned that problem already so i think that you must have been aware of it. If i change localhost into the IP address of the server in my case it is a NAS cause i am using Docker on my NAS, then i can log in or register. The problem that occurs is that i cannot use a secure URL (my reverse proxy pointing to that IP address and port number) because if i do that i will get a secure connection, but then i can’t log in or register. I see the register window and fill in all the required information but nothing happened. So the bottom line is:

  • Using localhost — you can’t log in or register
  • Using IP address of the NAS with port number ----- you can log in and you can register
  • Using IP address of the NAS with port number ----- you can log in but if you convert it to a secured page you will not be able to log in or register. Only if you stay with the page based on the local IP address and unsecured (HTTP) it works

I hope you understand the problem now. There is something in the setting that prevents it from using a secured connection (HTTPS) And i’m not the only one having this problem cause i saw others mention this before.

Did you add the stripprefix middleware?

This is my current setup specifically lines 32-40