relecture pour Bookworm
This commit is contained in:
parent
16defe31b5
commit
c92c7521df
|
@ -5,36 +5,35 @@ title: Howto Nginx
|
|||
|
||||
* Documentation : <https://nginx.org/en/docs/>
|
||||
* Rôle Ansible : <https://forge.evolix.org/projects/ansible-roles/repository/show/nginx>
|
||||
* Statut de cette page : prod / bookworm
|
||||
|
||||
[Nginx](https://nginx.org/) est un serveur [HTTP](HowtoHTTP) léger, le deuxième plus utilisé sur le web derrière [Apache](HowtoApache).
|
||||
|
||||
## Installation
|
||||
|
||||
Nous utilisons les paquets Debian officiels (version 1.10.3 sous Stretch et Jessie-Backports, version 1.6.2 sous Jessie) :
|
||||
|
||||
~~~
|
||||
# apt install nginx-full
|
||||
|
||||
$ /usr/sbin/nginx -V
|
||||
nginx version: nginx/1.10.3
|
||||
built with OpenSSL 1.1.0f 25 May 2017
|
||||
nginx version: nginx/1.22.1
|
||||
built with OpenSSL 3.0.8 7 Feb 2023 (running with OpenSSL 3.0.9 30 May 2023)
|
||||
TLS SNI support enabled
|
||||
configure arguments: --with-cc-opt='-g -O2 […]
|
||||
|
||||
systemctl status nginx
|
||||
# systemctl status nginx
|
||||
● nginx.service - A high performance web server and a reverse proxy server
|
||||
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
|
||||
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
|
||||
Active: active (running) since Fri 2023-07-28 21:43:35 CEST; 1s ago
|
||||
Docs: man:nginx(8)
|
||||
Process: 6881 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
|
||||
Process: 6878 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
|
||||
Main PID: 6882 (nginx)
|
||||
Tasks: 5 (limit: 4915)
|
||||
Process: 38051 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
|
||||
Process: 38052 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
|
||||
Main PID: 38053 (nginx)
|
||||
Tasks: 2 (limit: 2356)
|
||||
Memory: 2.2M
|
||||
CPU: 34ms
|
||||
CGroup: /system.slice/nginx.service
|
||||
├─6882 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
|
||||
├─6883 nginx: worker process
|
||||
├─6884 nginx: worker process
|
||||
├─6885 nginx: worker process
|
||||
└─6886 nginx: worker process
|
||||
├─38053 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;"
|
||||
└─38054 "nginx: worker process"
|
||||
~~~
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue