quel est l'interet du proxy, comment le configurer ?
On lun., 2025-11-24 at 16:39 +0100, Jean-Michel OLTRA wrote:
>
> Bonjour,
>
>
> Le lundi 24 novembre 2025, jean-christophe Énée a écrit...
>
>
> > qu'est ce que j'ai loupé ?
>
> https://nginx.org/en/docs/example.html
events {
worker_connections 2000;
# use [ kqueue | epoll | /dev/poll | select | poll ];
use kqueue;
}
---
jean-christophe@blues-softwares:~/Documents/Script$ sudo nginx -t
2025/11/24 17:59:42 [emerg] 16690#16690: invalid event type "kqueue" in
/etc/nginx/nginx.conf:15
nginx: configuration file /etc/nginx/nginx.conf test failed
---
░░ A stop job for unit nginx.service has finished.
░░
░░ The job identifier is 10441 and the job result is done.
Nov 24 17:57:23 blues-softwares systemd[1]: Starting nginx.service - A
high performance web server and a reverse proxy server...
░░ Subject: A start job for unit nginx.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit nginx.service has begun execution.
░░
░░ The job identifier is 10441.
Nov 24 17:57:23 blues-softwares nginx[16538]: 2025/11/24 17:57:23
[emerg] 16538#16538: getpwnam("www") failed in /etc/nginx/nginx.conf:1
Nov 24 17:57:23 blues-softwares nginx[16538]: nginx: configuration file
/etc/nginx/nginx.conf test failed
Nov 24 17:57:23 blues-softwares systemd[1]: nginx.service: Control
process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStartPre= process belonging to unit nginx.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 24 17:57:23 blues-softwares systemd[1]: nginx.service: Failed with
result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit nginx.service has entered the 'failed' state with result
'exit-code'.
Nov 24 17:57:23 blues-softwares systemd[1]: Failed to start
nginx.service - A high performance web server and a reverse proxy
server.
░░ Subject: A start job for unit nginx.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit nginx.service has finished with a failure.
░░
░░ The job identifier is 10441 and the job result is failed.