In the end I used NGINX and it worked the first time
Her for the community my conf file, I hope this will be useful for others:
upstream ignition_http {
keepalive 20;
server 127.0.0.1:8088;
}
server {
listen 80;
return 301 https://$host$request_uri/;
}
server {
listen 443 http2 ssl;
listen [::]:443 http2 ssl;
server_name YOUR_SERVER_FQDN;
ssl_certificate PATH_TO_PUBLIC_CHAIN;
ssl_certificate_key PATH_TO_PRIVATE_KEY;
location / {
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_pass http://ignition_http;
}
}