all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Kandur <manualbot@icloud.com>
To: guix-devel@gnu.org
Subject: Example Nginx config from Guix manual does not work
Date: Fri, 23 Dec 2022 18:39:32 -0000	[thread overview]
Message-ID: <513cf35a-22d5-474b-8b1e-640a369a5aa4@me.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]

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.

[-- Attachment #2.1: Type: text/html, Size: 3078 bytes --]

             reply	other threads:[~2022-12-24 10:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 18:39 Adam Kandur [this message]
2022-12-25  4:43 ` Example Nginx config from Guix manual does not work Felix Lechner via Development of GNU Guix and the GNU System distribution.
2022-12-25  4:49   ` Kefir .

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=513cf35a-22d5-474b-8b1e-640a369a5aa4@me.com \
    --to=manualbot@icloud.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.