Skip to content

Error 502 Bad Gateway with NPM (nginx proxy manager) #2029

Answered by PolGZ
PolGZ asked this question in Help wanted
Discussion options

You must be logged in to vote

Now, once solved the issue of me being dumb, both using docker internal networks and referring the container name or not using docker networks and pointing to regular local IP address.

Here are my working compose files and NPM config, in case it helps someone in the future (or if you consider useful to add as compose file examples for the documentation):

shlink compose:

version: '3'

services:
  shlink:
    image: shlinkio/shlink:stable
    restart: unless-stopped
    environment:
      - TZ="Europe/Berlin"
      - SHELL_VERBOSITY=3
      - DEFAULT_DOMAIN=link.domain.com
      - IS_HTTPS_ENABLED=true
      - DB_DRIVER=maria
      - DB_USER=shlink
      - DB_NAME=shlink
      - DB_PASSWORD…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
3 replies
@PolGZ
Comment options

@acelaya
Comment options

@PolGZ
Comment options

Comment options

You must be logged in to vote
9 replies
@acelaya
Comment options

@PolGZ
Comment options

@PolGZ
Comment options

@PolGZ
Comment options

Answer selected by acelaya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2028 on February 26, 2024 22:50.