build-your-own-radar icon indicating copy to clipboard operation
build-your-own-radar copied to clipboard

Getting 403 Forbidden Error

Open MallikarjunKoguriReachLocal opened this issue 7 years ago • 2 comments

After pulling and running the docker image, when I try to access it from browser as localhost:8080, i am getting 403 forbidden Error.

Are you setting the environment variable for SERVER_NAMES as part of the run command?

docker run --rm -p 8080:80 -e SERVER_NAMES="localhost 127.0.0.1" wwwthoughtworks/build-your-own-radar

DarrenRatcliffe avatar Feb 16 '18 12:02 DarrenRatcliffe

I confirm, As @DarrenRatcliffe suggested, just use -e SERVER_NAMES="localhost". It's used in the Nginx configuration

badreddine16 avatar Apr 08 '18 13:04 badreddine16

Closing as stale. Please reopen if you're still having issues.

marisahoenig avatar Apr 26 '23 21:04 marisahoenig

Closing as stale

marisahoenig avatar Jul 21 '23 21:07 marisahoenig