examples - edit basic PHP
This commit is contained in:
parent
bebe89afb0
commit
0114c7b09f
@ -15,6 +15,11 @@ $ docker-compose up
|
|||||||
|
|
||||||
## Linux
|
## 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
|
```shell
|
||||||
$ cp variables.env /opt/bunkerized-nginx/variables.env
|
$ cp variables.env /opt/bunkerized-nginx/variables.env
|
||||||
$ cp web-files/* /opt/bunkerized-nginx/www
|
$ cp web-files/* /opt/bunkerized-nginx/www
|
||||||
|
|||||||
@ -6,5 +6,5 @@ REDIRECT_HTTP_TO_HTTPS=yes
|
|||||||
DISABLE_DEFAULT_SERVER=yes
|
DISABLE_DEFAULT_SERVER=yes
|
||||||
USE_CLIENT_CACHE=yes
|
USE_CLIENT_CACHE=yes
|
||||||
USE_GZIP=yes
|
USE_GZIP=yes
|
||||||
REMOTE_PHP=myphp
|
REMOTE_PHP=localhost
|
||||||
REMOTE_PHP_PATH=/app
|
REMOTE_PHP_PATH=/opt/bunkerized-nginx/www
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
apk add py3-pip bash
|
apk add py3-pip bash
|
||||||
pip3 install docker flask
|
pip3 install docker flask flask-login
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user