2020-09-08, 18:10
Hello everyone,
I'm trying to serve a live filesystem over https (http2), i already got it serving with plain http, but i would like to try http2 to see if there is any speed improvement (because the squashfs image is quite big). My nginx conf is below:
And my ipxe build (uefi) is:
Already tried CERT and PRIVKEY alone, only TRUST and nothing so far.
Thanks in advance.
I'm trying to serve a live filesystem over https (http2), i already got it serving with plain http, but i would like to try http2 to see if there is any speed improvement (because the squashfs image is quite big). My nginx conf is below:
Code:
server {
listen 443 ssl http2;
server_name netboot;
gzip on;
root /usr/share/nginx/html;
ssl_certificate /certs/server.crt;
ssl_certificate_key /certs/server.key;
location / {
autoindex on;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
access_log off;
error_log /var/log/nginx/netboot.log error;
location ~ /\.(?!well-known).* {
deny all;
}
}
And my ipxe build (uefi) is:
Code:
make -j8 bin-x86_64-efi/vmxnet3.efi EMBED=boot.pxe CERT=server.crt PRIVKEY=server.key TRUST=ca.crt
Already tried CERT and PRIVKEY alone, only TRUST and nothing so far.
Thanks in advance.