unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Example Nginx config from Guix manual does not work
@ 2022-12-23 18:39 Adam Kandur
  2022-12-25  4:43 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Kandur @ 2022-12-23 18:39 UTC (permalink / raw)
  To: guix-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-25  4:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-23 18:39 Example Nginx config from Guix manual does not work Adam Kandur
2022-12-25  4:43 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2022-12-25  4:49   ` Kefir .

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).