Only one docker running properly

Hey

  1. I wanted to create multiple ghost blogs on different docker containers but only one is working properly. (screenshot)

    but I don’t want it to run on mysite.com:3001 I want it to be e.g mysite.com/blog

  2. Is there any possibility to create ghost blog on one serwer and redirect it to be blog on external server?

Add the following config to your mysite.com nginx server block

location /blog/ {
                proxy_set_header Host $http_host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_pass http://localhost:3001;
        }

& you should able to visit the blog at mysite.com/blog

In which file? I’m not sure if I have any file connected to this.

Hi Sorry for the late replay…

you need to have a webserver(Nginx) in order to achieve above scenario.

How is how you can install & configure nginx web server How To Install Nginx on Ubuntu 18.04 | DigitalOcean