Giter Site home page Giter Site logo

Comments (13)

deviantony avatar deviantony commented on August 15, 2024 2

Hey @pascalandy

I had a quick look, I think that this might be related to the reverse proxy configuration.

Are you sure about the traefik options passed here:

      labels:
        - "traefik.backend=portainer"
        - "traefik.frontend.rule=PathPrefixStrip:/portainer"
        - "traefik.port=9000"
        - "traefik.enable=true"
        - "traefik.frontend.entryPoints=http"
        - "traefik.docker.network=ntw_front"
        - "traefik.weight=10"
        - "traefik.frontend.passHostHeader=true"

Ah, I was able to access Portainer using http://pwd10-0-33-3-80.host1.labs.play-with-docker.com/portainer/ instead of http://pwd10-0-33-3-80.host1.labs.play-with-docker.com/portainer

Note the trailing slash in the first URL.

from portainer-compose.

pascalandy avatar pascalandy commented on August 15, 2024 2

Good catch! I updated the stack.

Traefik was having issue about this few months ago and they fixed this. I know there is now labels to handle this use case.

Many many cheers!

EDIT: See how it's done here: https://github.com/pascalandy/docker-stack-this/blob/master/traefik_stack5/toolportainer.yml#L55

from portainer-compose.

ttresse avatar ttresse commented on August 15, 2024 2

Hello
I have the same issue here ! Any news ?

from portainer-compose.

pascalandy avatar pascalandy commented on August 15, 2024 1

EDIT: It's now working. See how here - https://github.com/pascalandy/docker-stack-this/blob/master/traefik_stack5/toolportainer.yml#L55

Still the same issue here @kylesnipes.

from portainer-compose.

Dave3991 avatar Dave3991 commented on August 15, 2024 1

Hello,
same problem here (traefik 1.6) , any updates ?

from portainer-compose.

kylesnipes avatar kylesnipes commented on August 15, 2024

@pascalandy Did you ever resolve this issue? I'm now running v1.6 of Traefik and this issue is happening to me. Without the trailing '/', portainer won't hit the login page.

from portainer-compose.

exNewbie avatar exNewbie commented on August 15, 2024

It is happening to me too

# cat /etc/*release
NAME="Amazon Linux AMI"
VERSION="2018.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2018.03"
PRETTY_NAME="Amazon Linux AMI 2018.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2018.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
Amazon Linux AMI release 2018.03

# rpm -aq | grep docker
docker-18.06.1ce-6.24.amzn1.x86_64

# docker images 
REPOSITORY                                                        TAG                  IMAGE ID            CREATED             SIZE
portainer/portainer                                               latest               89c72b64ab63        5 days ago          74.2MB

from portainer-compose.

staticgroup avatar staticgroup commented on August 15, 2024

Hey guys,
simmilar issue here with nginx, was working initially now its stuck at this point. I followed the config guide

from portainer-compose.

staticgroup avatar staticgroup commented on August 15, 2024

Just following up on the above comment

from portainer-compose.

exNewbie avatar exNewbie commented on August 15, 2024

@SConnery surely nobody cares about this issue. I also contacted them on Slack but got ignored :|

from portainer-compose.

staticgroup avatar staticgroup commented on August 15, 2024

yep i did as well :(
trying 2 docker servers to try this.

from portainer-compose.

deviantony avatar deviantony commented on August 15, 2024

Shipping this compose setup with a valid reverse proxy configuration (using jwilder/nginx), should be fixed via #20

from portainer-compose.

staticgroup avatar staticgroup commented on August 15, 2024

from portainer-compose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.