diff --git a/examples/basic-website-with-php/README.md b/examples/basic-website-with-php/README.md index 3c0f923..9014aeb 100644 --- a/examples/basic-website-with-php/README.md +++ b/examples/basic-website-with-php/README.md @@ -15,6 +15,11 @@ $ docker-compose up ## Linux +You will need to configure your php-fpm service to listen on localhost with the following directive : +```conf +listen = 127.0.0.1:9000 +``` + ```shell $ cp variables.env /opt/bunkerized-nginx/variables.env $ cp web-files/* /opt/bunkerized-nginx/www diff --git a/examples/basic-website-with-php/variables.env b/examples/basic-website-with-php/variables.env index 66a955d..0b7a68f 100644 --- a/examples/basic-website-with-php/variables.env +++ b/examples/basic-website-with-php/variables.env @@ -6,5 +6,5 @@ REDIRECT_HTTP_TO_HTTPS=yes DISABLE_DEFAULT_SERVER=yes USE_CLIENT_CACHE=yes USE_GZIP=yes -REMOTE_PHP=myphp -REMOTE_PHP_PATH=/app +REMOTE_PHP=localhost +REMOTE_PHP_PATH=/opt/bunkerized-nginx/www diff --git a/ui/dependencies.sh b/ui/dependencies.sh index 5dc7af6..76deaf8 100644 --- a/ui/dependencies.sh +++ b/ui/dependencies.sh @@ -1,4 +1,4 @@ #!/bin/sh apk add py3-pip bash -pip3 install docker flask \ No newline at end of file +pip3 install docker flask flask-login