Welcome! Log In Create A New Profile

Advanced

Re: V 0.9.4: unexpected end of file, expecting "; " or "}" in /etc/mime.types:789

February 12, 2011 10:58PM
Hi,

On 13/02/2011 04:23, Ron Savage wrote:
> Hi Folks
>
> I couldn't see a reference to this in the recent archives, and googling
> didn't help.
>
> I've just installed Debian 6 on a new laptop, and compiled nginx 0.9.4
> with:
> ./configure --with-http_ssl_module --with-http_gzip_static_module \
> --without-http_autoindex_module --without-http_browser_module
> --without-http_fastcgi_module \
> --without-http_geo_module --without-http_empty_gif_module
> --without-http_map_module \
> --without-http_proxy_module --without-http_memcached_module
> --without-http_ssi_module \
> --without-http_userid_module --prefix=/usr/local/nginx
> --sbin-path=/usr/local/sbin/nginx \
> --conf-path=/etc/nginx.conf --pid-path=/var/run/nginx.pid
> --http-log-path=/var/log/nginx/access.log \
> --error-log-path=/var/log/nginx/error.log --user=nginx --group=nginx
>
> Starting nginx with the default /etc/nginx.conf, with Debian's
> default /etc/mime.types gives:
>
> nginx@zigzag:~$ nginx: [emerg] unexpected end of file, expecting ";" or
> "}" in /etc/mime.types:789
/etc/mime.types is not an Nginx config file on my Debian 6 setup. The
default config folder for Nginx is /etc/nginx, and the default config
file is /etc/nginx/nginx.conf. The mime.types file is
/etc/nginx/mime.types. You should probably just use /etc/nginx as your
base, not /etc.

Cheers,

Marcus.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

V 0.9.4: unexpected end of file, expecting "; " or "}" in /etc/mime.types:789

Ron Savage February 12, 2011 09:28PM

Re: V 0.9.4: unexpected end of file, expecting "; " or "}" in /etc/mime.types:789

Eugaia February 12, 2011 10:58PM

Re: V 0.9.4: unexpected end of file, expecting "; " or "}" in /etc/mime.types:789

Ron Savage February 13, 2011 12:12AM

Re: V 0.9.4: unexpected end of file, expecting "; " or "}" in /etc/mime.types:789

Eugaia February 12, 2011 10:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 306
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready