GNU bug report logs - #26547
services: add mime.types

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Mon, 17 Apr 2017 21:21:02 UTC

Severity: normal

Done: julien lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26547 in the body.
You can then email your comments to 26547 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26547; Package guix-patches. (Mon, 17 Apr 2017 21:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julien Lepiller <julien <at> lepiller.eu>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 17 Apr 2017 21:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: guix-patches <at> gnu.org
Subject: services: add mime.types
Date: Mon, 17 Apr 2017 23:20:05 +0200
[Message part 1 (text/plain, inline)]
Hi,

this patch adds a directive in the nginx configuration to include
nginx's mime.types file, which allows nginx to recognize the files.
Before that, files were served as application/octet-stream, which was
not recognized by the browser as a webpage.
[0001-services-nginx-Use-mime.types.patch (text/x-patch, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#26547; Package guix-patches. (Tue, 18 Apr 2017 08:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 26547 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 26547 <at> debbugs.gnu.org
Subject: Re: bug#26547: services: add mime.types
Date: Tue, 18 Apr 2017 10:38:22 +0200
Hi Julien,

Julien Lepiller <julien <at> lepiller.eu> skribis:

> From 28a9d348ede5a88553308479a210ec2facce9c81 Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien <at> lepiller.eu>
> Date: Mon, 17 Apr 2017 23:06:04 +0200
> Subject: [PATCH] services: nginx: Use mime.types.
>
> * gnu/service/web.scm: Include mime.types in generated configuration.

More like:

  * gnu/services/web.scm (default-nginx-config): Add 'nginx' parameter
  and honor it.  Adjust callers.

Otherwise LGTM, thanks!

(FWIW, I previously worked around it in an NGINX configured via a plain
text file by adding mime.types to /etc, like this:
<https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/bayfront.scm#n69>.)

Ludo’.




Reply sent to julien lepiller <julien <at> lepiller.eu>:
You have taken responsibility. (Thu, 20 Apr 2017 08:35:01 GMT) Full text and rfc822 format available.

Notification sent to Julien Lepiller <julien <at> lepiller.eu>:
bug acknowledged by developer. (Thu, 20 Apr 2017 08:35:02 GMT) Full text and rfc822 format available.

Message #13 received at 26547-done <at> debbugs.gnu.org (full text, mbox):

From: julien lepiller <julien <at> lepiller.eu>
To: 26547-done <at> debbugs.gnu.org
Date: Thu, 20 Apr 2017 10:33:55 +0200



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 May 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.