nginx-proxy / nginx-proxy/nginx-proxy

nginx-proxy not forwarding to ghost blog

Open
#1,408 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
19.9k
Forks
3k
Avg merge
2d 11h
Merged PRs (30d)
1

Description

Hi!
I have a little problem with running my ghost blog on Docker with nginx-proxy. I want to host multiple websites on my VPS so I thought that I can use docker and nginx-proxy to handle this. The issue is that I cant make ghost working with nginx-proxy. I followed many tutorials and tried many ways, and nothing is working but when I try to run my static website with nginx-proxy on docker everything is doing fine, only Ghost is refusing to cooperate.

Heres my current docker-compose:

version: '3'

services:
  proxy:
    image: jwilder/nginx-proxy
    container_name: nginx-proxy
    ports:
      - '80:80'
    volumes:
      - /var/run/docker.sock:/tmp/docker.sock:ro
  makerplace:
    image: ghost
    container_name: makerplace
    expose:
      - 2368
    environment:
      - url="http://makerplace.pl"
      - VIRTUAL_HOST=makerplace.pl
      - VIRTUAL_PORT=2368
networks:
  default:
    external:
      name: nginx-proxy

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided docker-compose configuration, then inspect the nginx-proxy and Ghost container logs and confirm their shared external network and exposed port. The issue does not include a failing response or logs, so first reproduce the routing failure and document the specific configuration change that makes makerplace.pl reach Ghost.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.