You are not logged in.

#1 2018-12-31 07:37:58

pisit99
Member
Registered: 2013-10-12
Posts: 4

Installing Nginx-mainline can't find mime.types

Hi, I'm new for nginx , I'm install nginx and nginx-mainline ,after finished i run
$sudo systemctl start nginx.service

error /etc/nginx/mime.types not found

if I edit /etc/nignx/nginx.conf and add # to include mime.types can be run

it is a bug?

Offline

#2 2018-12-31 14:33:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,529
Website

Re: Installing Nginx-mainline can't find mime.types

You can't install nginx and nginx-mainline, at least not through pacman.  And if you installed either of them through pacman it would have also installed the dependencies which you are missing.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2019-01-01 02:25:11

pisit99
Member
Registered: 2013-10-12
Posts: 4

Re: Installing Nginx-mainline can't find mime.types

Trilby wrote:

You can't install nginx and nginx-mainline, at least not through pacman.  And if you installed either of them through pacman it would have also installed the dependencies which you are missing.

Thanks for you reply, i mean i installed each of theme separatly with pacman , but no mime.types file in /etc/nginx/

Offline

#4 2019-01-01 02:31:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Installing Nginx-mainline can't find mime.types

Please paste your full pacman log.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2019-09-22 02:08:17

y15e
Member
From: Tokyo
Registered: 2019-09-22
Posts: 1
Website

Re: Installing Nginx-mainline can't find mime.types

I was able to fix the issue by installing mime-types package.

$ sudo pacman -S mime-types

Offline

#6 2019-09-22 02:57:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Installing Nginx-mainline can't find mime.types

Don't necrobump, especially when you aren't using Arch: https://wiki.archlinux.org/index.php/Co … bumping.22


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB