Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
tutoriel:internet:serveur:nginx2apache:start1 [2022/03/22 13:05] – [Première étape] admin | tutoriel:internet:serveur:nginx2apache:start1 [2022/08/13 22:15] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 17: | Ligne 17: | ||
<WRAP list-deep> | <WRAP list-deep> | ||
- **Installez [[apt> | - **Installez [[apt> | ||
- | - **Configurez PHP-FPM** : créez un fichier de pool par site, sur la base du fichier / | + | - **Configurez PHP-FPM** : créez un fichier de pool par site, sur la base du fichier / |
- | ; Start a new pool named ' | + | (...) |
- | ; the variable $pool can be used in any directive and will be replaced by the | + | |
- | ; pool name (' | + | |
#~ [www] | #~ [www] | ||
[monsite] | [monsite] | ||
- | + | (...) | |
- | ; Per pool prefix | + | |
- | ; It only applies on the following directives: | + | |
- | ; - ' | + | |
- | ; - ' | + | |
- | ; - ' | + | |
- | ; - ' | + | |
- | ; - ' | + | |
- | ; - ' | + | |
- | ; - ' | + | |
- | ; When not set, the global prefix (or /usr) applies instead. | + | |
- | ; Note: This directive can also be relative to the global prefix. | + | |
- | ; Default Value: none | + | |
- | ;prefix = / | + | |
; Unix user/group of processes | ; Unix user/group of processes | ||
; Note: The user is mandatory. If the group is not set, the default user's group | ; Note: The user is mandatory. If the group is not set, the default user's group | ||
Ligne 55: | Ligne 39: | ||
; Note: This value is mandatory. | ; Note: This value is mandatory. | ||
listen = / | listen = / | ||
- | + | (...) | |
- | ; Set listen(2) backlog. | + | |
- | ; Default Value: 511 (-1 on FreeBSD and OpenBSD) | + | |
- | ; | + | |
; Set permissions for unix socket, if one is used. In Linux, read/write | ; Set permissions for unix socket, if one is used. In Linux, read/write | ||
; permissions must be set in order to allow connections from a web server. Many | ; permissions must be set in order to allow connections from a web server. Many |