mirror of
https://github.com/GeekOops/doc.git
synced 2024-05-20 05:12:21 +00:00
Improve php-fpm examle
This commit is contained in:
parent
f9969d6b36
commit
85e11c2c0e
|
@ -26,4 +26,20 @@ This ansible role comes with a minimal set of configuration parameters.
|
|||
|
||||
# Example
|
||||
|
||||
A extended example is in the [Example Webserver](/posts/20210326-example-webserver/) post.
|
||||
This role installs only `php-fpm`. It works best together with the [nginx role](20210326-ansible-nginx/), but you can also use it as a standalone:
|
||||
|
||||
```yaml
|
||||
---
|
||||
- hosts: jellyfish
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- role: geekoops-php-fpm
|
||||
vars:
|
||||
apcu_enable: true
|
||||
apcu_shm_size: 32M
|
||||
php_memlimit: 256M
|
||||
php_maxuploadsize: 64M
|
||||
```
|
||||
|
||||
A more extended example of this role together with `nginx` can be found in the [Example Webserver](/posts/20210326-example-webserver/) post.
|
Loading…
Reference in a new issue