Actualiser cookcli/rootfs/etc/nginx/nginx.conf

This commit is contained in:
TheThomaas 2026-09-08 12:17:11 +00:00
parent 932f21e127
commit cd4d89c550

View file

@ -14,17 +14,13 @@ http {
access_log /proc/1/fd/1;
error_log /proc/1/fd/2;
upstream cookcli_backend {
server 127.0.0.1:9081; # Le port interne de CookCLI
}
server {
listen 9080;
server_name localhost;
location / {
# Proxy simple et direct vers CookCLI
proxy_pass http://cookcli_backend;
proxy_pass http://127.0.0.1:9081;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
@ -49,7 +45,7 @@ http {
# Proxy simple vers CookCLI
location / {
proxy_pass http://cookcli_backend;
proxy_pass http://127.0.0.1:9081;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";