Stikked icon indicating copy to clipboard operation
Stikked copied to clipboard

docker containers not working

Open ecsuae opened this issue 5 years ago • 4 comments

hi ,I cloned the git repo and ran docker-compose up it works fine on my local pc. when I try to run it on a vm with public ip it is not running , can you guide what's wrong?

ecsuae avatar Feb 05 '20 00:02 ecsuae

I don't think anyone will be able to help you with this little information.

The-Compiler avatar Feb 05 '20 14:02 The-Compiler

why so? what is the purpose of running Pastebin on localhost? its purpose is to share it with others.

ecsuae avatar Feb 05 '20 17:02 ecsuae

Of course it is. But if all you say is "it's not running, what's wrong?", how do you expect people to help you?

The-Compiler avatar Feb 07 '20 17:02 The-Compiler

Check the following in docker/nginx.conf:

    # Only requests to our Host are allowed
    if ($host !~ ^localhost$ ) {
        return 444;
    }

nt-rbmk avatar Apr 10 '20 10:04 nt-rbmk