claudehohl / Stikked

An advanced and beautiful pastebin written in PHP
991 stars 220 forks source link

docker containers not working #536

Open ecsuae opened 4 years ago

ecsuae commented 4 years ago

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?

The-Compiler commented 4 years ago

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

ecsuae commented 4 years ago

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

The-Compiler commented 4 years ago

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?

nt-rbmk commented 4 years ago

Check the following in docker/nginx.conf:

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