Hi guix!(service nginx-service-type (nginx-configuration
(server-blocks (list (nginx-server-configuration
(server-name '("www.example.com")) (root
"/srv/http/www.example.com")))))) produce this nginx configuser nginx nginx;pid
/var/run/nginx/pid;error_log /var/log/nginx/error.log info;events { }http { client_body_temp_path
/var/run/nginx/client_body_temp; proxy_temp_path /var/run/nginx/proxy_temp; fastcgi_temp_path
/var/run/nginx/fastcgi_temp; uwsgi_temp_path /var/run/nginx/uwsgi_temp; scgi_temp_path
/var/run/nginx/scgi_temp; access_log /var/log/nginx/access.log; include
/gnu/store/dngffa0df8zsxlbi630656688zhly6p5-nginx-1.23.2/share/nginx/conf/mime.types; server { listen
80; listen 443 ssl; server_name www.example.com ; root /srv/http/www.example.com; index
index.html ; server_tokens off; }}Which will not work because it asks to listen on 443 with ssl,
which is not possible because no certificates are provided. Removing the line "listen 443 ssl;"
solves this problem.