Package Details: nginx-custom 1.10.0-1

Git Clone URL: https://aur.archlinux.org/nginx-custom.git (read-only)
Package Base: nginx-custom
Description: lightweight HTTP server and IMAP/POP3 proxy server with standard, additional and 3d party modules
Upstream URL: http://nginx.org
Licenses: custom
Conflicts: nginx, nginx-custom-dev, nginx-devel, nginx-full, nginx-svn, nginx-unstable
Provides: nginx
Submitter: akuznetcov
Maintainer: akuznetcov
Last Packager: akuznetcov
Votes: 13
Popularity: 0.236137
First Submitted: 2012-04-03 18:08
Last Updated: 2016-04-27 16:40

Required by (53)

Sources (19)

Latest Comments

Martchus commented on 2016-08-25 20:24

Haven't found any official repository for that module after a brief search. Hence I created an own repository: https://github.com/Martchus/PKGBUILDs/commit/616fe0a7c1ad29f67e2630351326ebc4147f8204

rr-r commented on 2016-08-25 19:38

ngx_accesskey link is broken again.

Martchus commented on 2016-07-24 23:42

I updated my own version mentioned in the comment below. I already included the new flag but forgot to remove the old one.

However, the dependencies are not missing. These packages are in base or base-devel so they should not be listed explicitly.

simonsd commented on 2016-07-24 23:19

missing makedepends:
- gcc
- make
- binutils (strip)
- fakeroot

Also the "--with-imap_ssl_module" option is deprecated and should be replaced with "--with-mail_ssl_module".

Martchus commented on 2016-06-13 23:08

Current version: https://github.com/Martchus/PKGBUILDs/tree/master/nginx/custom
(at least nginx itself is updated)

akuznetcov commented on 2016-04-27 16:41

Nginx 1.10 released

akuznetcov commented on 2016-02-02 12:37

Nginx ^ 1.8.1

+ PageSpeed issue

OxHaK commented on 2016-01-04 18:55

miau9202: Thanks this works !

miau9202 commented on 2016-01-04 06:29

you need update PKGBUILD to pass the error

replace:
_pagespeed_ver="1.9.32.10"
to:
_pagespeed_ver="1.10.33.2"

don't forget to change the md5sum as 'SKIP'

OxHaK commented on 2015-12-10 18:07

After latest system upgrade we need to rebuild some packages as writed here https://www.archlinux.org/news/c-abi-change/

I can't rebuild nginx-custom cause of this error:

adding module in ../ngx_pagespeed
mod_pagespeed_dir=../ngx_pagespeed/psol/include
build_from_source=false
checking for psol ... not found
./configure: error: module ngx_pagespeed requires the pagespeed optimization library.
Look in objs/autoconf.err for more details.
==> ERREUR : Une erreur s’est produite dans build()

akuznetcov commented on 2015-10-29 09:01

Modules update & fix for AccessKey url

peuko commented on 2015-09-24 03:49

ngx_accesskey link is broken. Temporal solution: Edit PKGBUILD:
- replace link in line: "${_accesskey_dirname}.tar.gz::http://wiki.nginx.org/images/5/51/Nginx-accesskey-${_accesskey_ver}.tar.gz" >> https://ostube.googlecode.com/files/Nginx-accesskey-2.0.3.tar.gz
- recalculate md5sum and replace this hash: 9b5304346d5139b1841f5baa01ab0cbe >> 8862455846c4ce803ca15300ee08e19a

akuznetcov commented on 2015-06-30 20:41

Pushed to AUR4 with fixes to issues reported by comrades @sebnyberg, @schnoopay and @djmattyg007

Mic92 commented on 2015-06-13 10:17

Hi, could upload this package to aur4? I want to use it as a base for my own nginx PKGBUILD (with some additional modules and some removed) and the git support in aur4 makes this very easy.

djmattyg007 commented on 2015-05-28 09:55

The md5 hashes for ngx_rtmp and ngx_pagespeed do not seem to match up with the files returned from the source URLs. I had to manually edit the PKGBUILD file to get makepkg to accept them.

schnoopay commented on 2015-04-28 04:05

I had to add "missingok" to nginx.logrotate (which is in the official nginx package) or else logrotate.service fails for me as it does not find anything in /var/log/nginx/*/*log and was curious if this was left out for any particular reason.

sebnyberg commented on 2015-04-27 17:40

Great package. I did however change

--prefix="/${_conf_path}"
to
--prefix="/${_doc_root}"

and

mv "${pkgdir}/${_conf_path}/html/"* "${pkgdir}/${_doc_root}"
to
mv "${pkgdir}/${_doc_root}/html/"* "${pkgdir}/${_doc_root}"

Otherwise nginx won't recognize /usr/share/nginx as the default server folder and throw a 404 on the first run.

akuznetcov commented on 2015-04-22 13:29

Minor pkgbuild update
'--with-threads' build options added to allow usage of thread pools
http://nginx.org/en/docs/ngx_core_module.html#thread_pool

akuznetcov commented on 2015-04-21 15:40

Nginx ^ 1.8.0
stable version has been released, incorporating many new features from the 1.7.x mainline branch - including hash load balancing method, backend SSL certificate verification, experimental thread pools support, proxy_request_buffering and more

akuznetcov commented on 2015-04-07 17:46

Nginx update ^ 1.6.3 http://nginx.org/en/CHANGES-1.6
Modules update

akuznetcov commented on 2015-01-29 19:33

Modules update
Fix for service file path (pacman 4.2 issue)

Mic92 commented on 2014-12-29 10:09

Please replace:

install -D -m644 "${srcdir}/nginx.service" "${pkgdir}/lib/systemd/system/nginx.service"

with:

install -D -m644 "${srcdir}/nginx.service" "${pkgdir}/usr/lib/systemd/system/nginx.service"

Because pacman 4.2 changes handling of symlink conflicts the package will conflict with itself.

akuznetcov commented on 2014-12-11 07:06

Modules update

JesusMcCloud commented on 2014-09-25 20:11

Does not build for me:

mv: cannot move ‘ngx-fancyindex-0.3.4’ to ‘ngx_fancyindex/ngx-fancyindex-0.3.4’: Directory not empty

akuznetcov commented on 2014-09-16 19:52

Nginx update ^ 1.6.2 http://nginx.org/en/CHANGES-1.6
Modules update

Note: systemd service file has been updated, recommended to reload configuration with:
systemctl daemon-reload

Mic92 commented on 2014-08-13 22:56

libxslt is a runtime dependency:

ldd /usr/bin/nginx | grep libx
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007fda6f550000)
libxslt.so.1 => /usr/lib/libxslt.so.1 (0x00007fda6f311000)

schmimat commented on 2014-08-07 09:23

Is it possible to change the nginx.service file and take it
from the nginx 1.6.1-1 package (extra repository)?
see https://www.archlinux.org/packages/extra/i686/nginx/

There was a big change from 1.6.0-1 to 1.6.0-2 and some
small changes from 1.6.0-2 to 1.6.0-2 to 1.6.0.3.

Thank yout for the excellent work.

mfG Matthias

schmimat commented on 2014-08-07 09:16

Is it possible do take (or change) the nginx.service file
from the nginx 1.6.1-1 package (extra Repository) ?

https://www.archlinux.org/packages/extra/i686/nginx/

Thank's for the excellent work.

mfG Matthias

schmimat commented on 2014-08-07 09:15

Is it possible do take (or change) the nginx.service file
from the nginx 1.6.1-1 (extra Repository) ?

https://www.archlinux.org/packages/extra/i686/nginx/

Thank's for the excellent work.

mfG Matthias

akuznetcov commented on 2014-08-06 08:33

Nginx update ^ 1.6.1
http://nginx.org/en/CHANGES-1.6

akuznetcov commented on 2014-06-10 13:48

@adambot, just done!

akuznetcov commented on 2014-06-10 13:48

Modules update + version update to force rebuild with new Perl

adambot commented on 2014-06-05 15:46

can you do a version bump to -2 to force a recompile against the new perl? see here: https://www.archlinux.org/news/perl-updated-to-520/

(tldr: programs compiled against old versions segfault)

akuznetcov commented on 2014-04-24 14:38

Nginx update ^ 1.6.0
http://nginx.org/en/CHANGES-1.6

akuznetcov commented on 2014-03-19 09:09

Nginx update ^ 1.4.7
http://nginx.org/en/CHANGES-1.4

akuznetcov commented on 2014-03-04 17:04

Nginx update ^ 1.4.6

Thanks to @adambot for notification

akuznetcov commented on 2014-02-11 17:33

MODULES INCLUDED:
* Standard HTTP Modules
* Optional HTTP Modules: Debug, Gzip Precompression, Stub Status, IPv6, SSL, Real IP, Secure Link, Addition, XSLT, MP4, FLV, Substitution, Image Filter, Embedded Perl, Degradation, Random Index, GeoIP, SPDY, Gunzip
* 3d Party Modules: Upstream Fair, Echo, Upload Progress, Cache Purge, Headers More, SlowFS Cache, Fancy Index, Auth PAM, Google PageSpeed, Access Key, RTMP, Dav Ext, Naxsi

akuznetcov commented on 2014-02-11 17:33

Nginx update ^ 1.4.5
Modules version update

New modules added: Naxsi and Dav Ext

akuznetcov commented on 2013-12-09 08:36

@adambot, 'gd' has been added as dependency

adambot commented on 2013-11-27 22:22

please add gd as a dependency -- it installed for build, however pacman said it was unneeded so i uninstalled it, nginx would not start until i reinstalled it

akuznetcov commented on 2013-11-20 15:21

Nginx security update ^ 1.4.4
http://mailman.nginx.org/pipermail/nginx-announce/2013/000125.html
Modules version update

akuznetcov commented on 2013-10-09 15:18

@9mmtylenol

You may try my other package nginx-custom-dev https://aur.archlinux.org/packages/nginx-custom-dev/
I have added these two modules into it for check.
If no issues will occur, then I will add modules to main package too

akuznetcov commented on 2013-10-09 14:30

Nginx updated to 1.4.3
Modules updated: PageSpeed, HeadersMore, RTMP, Echo

alutke commented on 2013-09-15 23:29

Could you please update the ngx_pagespeed module?

9mmtylenol commented on 2013-09-10 21:14

I use all those modules except 2.

https://code.google.com/p/naxsi/
https://github.com/arut/nginx-dav-ext-module

Would you consider adding them?

akuznetcov commented on 2013-07-17 15:58

Nginx updated to 1.4.2

akuznetcov commented on 2013-07-17 12:10

Modules updated: PageSpeed, HeadersMore, RTMP

@GuillaumeA
1. thanks for pointing me to the right repo, I have changed link for ngx-fancyindex

2. unfortunately I don't have a solution for this kind of problem. possible workaround is to use proxy for accessing resources https://wiki.archlinux.org/index.php/Yaourt#Proxy_Settings

Anonymous comment on 2013-07-12 19:14

Two things:

1. The repository used for ngx_fancyindex is outdated. Despite the description "the repository here will be also kept updated as a mirror", this is not true since 2012.
The GitHub repo should be used instead : https://github.com/aperezdc/ngx-fancyindex/archive/v0.3.2.tar.gz for example.

2. For some reason, on the psol.tar.gz file (https://dl.google.com/dl/page-speed/psol/1.5.27.3.tar.gz) I'm getting a "302 Found" redirecting to "http://dl.google.com/service/prod_unavailable.html", with title "This product is not available in your country". This is all the more ridiculous as I'm getting this error on my server, but not on my personal internet line, and the two are from the same ISP (OVH), with IPs within the same country.
An unpractical fix is to download the tarball from an authorized connection (!) and send it to the machine installing nginx-custom.
I have no idea how to fix this issue "automatically" though.

akuznetcov commented on 2013-06-06 14:53

Fixed bad folder names :( PKGBUILD updated without version change

@leonard, most of this space are taken by PageSpeed Optimization Library (psol) required to build PageSpeed module
https://github.com/pagespeed/ngx_pagespeed#how-to-build

leonardder commented on 2013-06-06 09:29

adding module in ../ngx_upstream_fair
+ ngx_http_upstream_fair_module was configured
adding module in ../
./configure: error: no ..//config was found
==> ERROR: A failure occurred in build().
Aborting...

Also, there is something weird with pagespeed, the extracted module is like 400 megs. Most part of that stuff consists of a debug folder. Could that be ommitted?

akuznetcov commented on 2013-06-05 21:10

Okie, fancyindex source changed to git
@leonard, thanks for the tip :)

leonardder commented on 2013-06-05 13:46

You could consider using the git way to get the source.
https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines

akuznetcov commented on 2013-06-05 13:28

@leonard, hm, it is solution for dynamic sources
but for current situation with SKIP for invalid file returned by Gitorious will keep build broken

akuznetcov commented on 2013-06-05 13:25

@leonard, yeap, it should be solution

leonardder commented on 2013-06-05 13:24

How about giving "SKIP" as the checksum for Gitorious urls'?

akuznetcov commented on 2013-06-05 13:08

@Mic92, periodically Gitorious returns a wrong size archive and it causes wrong checksum for this file.
Just try one more time

Mic92 commented on 2013-06-05 12:06

Checksum for ngx_fancyindex-master.tar.gz is out of date.

akuznetcov commented on 2013-06-04 11:29

MODULES INCLUDED:
* Standard HTTP Modules
* Optional HTTP Modules: Debug, Gzip Precompression, Stub Status, IPv6, SSL, Real IP, Secure Link, Addition, XSLT, MP4, FLV, Substitution, Image Filter, Embedded Perl, Degradation, Random Index, GeoIP, SPDY, Gunzip
* 3d Party Modules: Upstream Fair, Echo, Upload Progress, Cache Purge, Headers More, SlowFS Cache, Fancy Index, Auth PAM, Google PageSpeed, Access Key, RTMP

akuznetcov commented on 2013-06-04 11:28

Great news!

Package has been updated with new Nginx and modules versions, new modules (PageSpeed, GeoIP, AccessKey, RTMP, SPDY)

Fixed binary location for https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/

Configuration now located in /etc/nginx (instead of /etc/nginx/conf previously)!

Anonymous comment on 2013-06-03 18:22

This package is not only out of date, but breaks the latest Arch updates described here: https://www.archlinux.org/news/binaries-move-to-usrbin-requiring-update-intervention/

leonardder commented on 2013-06-03 14:14

Please update or disown!

akuznetcov commented on 2013-04-16 19:48

@dreieck, thanks for the report. i have changed 'backup' array in my other nginx package https://aur.archlinux.org/packages/nginx-custom-dev/
you may try it too

i will update this pkgbuild on next release of stable branch

@leonard, same here - i definitely will rework directories with next release : )

dreieck commented on 2013-04-09 11:23

It throws some error at the very beginning, but then continues:


$ makepkg
/usr/bin/makepkg: eval: line 1529: unexpected EOF while looking for matching `}'
/usr/bin/makepkg: eval: line 1530: syntax error: unexpected end of file
==> Making package: nginx-custom 1.2.8-1_custom (Tue Apr 9 13:09:24 CEST 2013)

Looking at "/usr/bin/makepkg", it has to do with evaluation of the "backup"-array in the PKGBUILD. It seems to be that the evaluation of that array is not safe.

However, removing in the PKGBUILD the "#/"-parts of the variables in the "backup"-array (i.e. changing "${_conf_path#/}" to "${_conf_path}") removes that problem (they are not needed since "${_conf_path}", which ends with "${_pkgname}", never ends with "/").

Maybe this should be filed to pacman as well? Can anyone do that (another login is needed to file bugs against arch linux core packages, which I don't have and don't want to create just for that)?

akuznetcov commented on 2013-04-04 08:37

Nginx updated to 1.2.8

leonardder commented on 2013-03-30 11:12

Thanks for this implementation of the pam module.
Is there still any reason to stick to /etc/nginx/conf? usage of /etc/nginx would be more in line with the default Arch package and other distributions. I read something about switching to /etc/nginx in the comments below, but this hasn't been done yet.

http://wiki.nginx.org/3rdPartyModules contains a list of all known third party modules. I think the following modules would be great additions:
- Form Input
- Limit Upstream Connection
- Log Request Speed
- OwnerMatch
- PageSpeed
- Set Misc
- SysGuard

akuznetcov commented on 2013-03-27 20:16

MODULES INCLUDED:
* Standard HTTP Modules
* Optional HTTP Modules: Debug, Gzip Precompression, Stub Status, IPv6, SSL, Real IP, Secure Link, Addition, XSLT, MP4, FLV, Substitution, Image Filter, Embedded Perl, Degradation, Random Index
* 3d Party Modules: Upstream Fair, Echo, Upload Progress, Cache Purge, Headers More, SlowFS Cache, Fancy Index, Auth PAM

akuznetcov commented on 2013-03-27 20:15

Updated modules:
- Echo
- Cache Purge
- Slow FS cache
- Upload Progress

Added module:
- Auth PAM

akuznetcov commented on 2013-03-27 20:12

MODULES INCLUDED:
* Standard HTTP Modules
* Optional HTTP Modules: Debug, Gzip Precompression, Stub Status, IPv6, SSL, Real IP, Secure Link, Addition, XSLT, MP4, FLV, Substitution, Image Filter, Embedded Perl, Degradation, Random Index
* 3d Party Modules: Upstream Fair, Echo, Upload Progress, Cache Purge, Headers More, SlowFS Cache, Fancy Index, Auth PAM

akuznetcov commented on 2013-03-27 20:12

Updated modules:
- Echo
- Cache Purge
- Slow FS cache

Added module:
- Auth PAM

leonardder commented on 2013-03-27 17:51

Could you please add the Auth Pam module from http://web.iti.upv.es/~sto/nginx/ to this package?

computerquip commented on 2013-03-17 17:54

I appreciate the package. Has made messing with nginx 100x easier.

Anonymous comment on 2013-02-15 20:07

@akuznetcov, thank for the quick reply. nginx-custom is building and installing perfectly now. thnx :)

akuznetcov commented on 2013-02-15 18:16

@syd23, unfortunately I cannot reproduce your error, with yaourt or packer or makepkg, but I have modified some file namings for fancyindex module processing
Could you please retry installation?
Let me know in case things did go wrong

Anonymous comment on 2013-02-15 17:38

1.2.7-1 won"t build correctly:
$packer --skipinteg -S nginx-custom
...
==> Starting build()...
mv: cannot stat ‘ngx-fancyindex-ngx-fancyindex’: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

akuznetcov commented on 2013-02-12 14:36

Nginx updated to 1.2.7

akuznetcov commented on 2013-02-06 01:19

Echo module update to 0.42
Pid-file location changed to /run folder

@mandos, yeah i'm sooo slow in answers :)
>Please keep in mind that uploadprogress is now in version 0.9.0 (I do not know if 0.8.4 is better).
yes, forgot/missed it on update again :(

>Do you know of anyway I can add my custom config files inside the aur-package?
you may put your config just by defining them in sources list, and then move to destination location in package() function

mandos commented on 2013-01-04 17:51

Nice akuznecov, thanks!

Please keep in mind that uploadprogress is now in version 0.9.0 (I do not know if 0.8.4 is better).
Also in my .service file I had all paths in /run instead of /var/run.

Do you know of anyway I can add my custom config files inside the aur-package?
I would like to create an arch package, based on your nginx-custom that would be drupal-ready.

akuznetcov commented on 2013-01-04 16:05

Nginx updated to 1.2.6
Various modules update

Added Systemd support!

akuznetcov commented on 2013-01-04 15:02

@mandos

i have already implemented systemd support to my pkgbuild, but not released it yet. lazy me
will update my pkgbuild today

>Now I'm trying to use /etc/nginx instead of /etc/nginx/conf to make it compatible with the drupal nginx configuration.
>Is there a specific reason for using the "conf" dir? Should I stick with it?
no, it's just a rudiment from pkgbuild i have based on

mandos commented on 2013-01-04 14:56

I made a package that uses nginx-1.2.6 and is compatible with systemd. based on your package and updated to use the latest plugins.

Would you like me to send it to you?

Now I'm trying to use /etc/nginx instead of /etc/nginx/conf to make it compatible with the drupal nginx configuration.

Is there a specific reason for using the "conf" dir? Should I stick with it?

mandos commented on 2013-01-04 14:43

I made a package that uses nginx-1.2.6 and is compatible with systemd.

Not as complete as yours, I'm not that good with PKGBUILDs yet. Do you want me to send it to you and adapt it to nginx-custom?

mandos commented on 2013-01-04 14:34

I made a package that uses nginx-1.2.6 and is compatible with systemd.

Not as complete as yours, I'm not that good with PKGBUILDs yet. Do you want me to send it to you and adapt it to nginx-custom?

akuznetcov commented on 2012-12-08 11:09

@mandos, systemd service file will be added soon :) stay tuned

mandos commented on 2012-12-07 20:58

does this work with systemd? I do not see a unit listed in systemctl

thnx

akuznetcov commented on 2012-11-13 15:56

MODULES INCLUDED:
* Standard HTTP Modules
* Optional HTTP Modules: Debug, Gzip Precompression, Stub Status, IPv6, SSL, Real IP, Secure Link, Addition, XSLT, MP4, FLV, Substitution, Image Filter, Embedded Perl, Degradation, Random Index
* 3d Party Modules: Upstream Fair, Echo, Upload Progress, Cache Purge, Headers More, SlowFS Cache, Fancy Index, HTTP Upload

akuznetcov commented on 2012-11-13 15:56

Nginx updated to 1.2.5

added ngx_http_upload_module http://wiki.nginx.org/HttpUploadModule

akuznetcov commented on 2012-10-03 10:23

Nginx updated to 1.2.4

akuznetcov commented on 2012-08-08 11:58

MODULES INCLUDED:
* Standard HTTP Modules
* Optional HTTP Modules: Debug, Gzip Precompression, Stub Status, IPv6, SSL, Real IP, Secure Link, Addition, XSLT, MP4, FLV, Substitution, Image Filter, Embedded Perl, Degradation, Random Index
* 3d Party Modules: Upstream Fair, Echo, Upload Progress, Cache Purge, Headers More, SlowFS Cache, Fancy Index

akuznetcov commented on 2012-08-08 11:58

Nginx updated to 1.2.3
ngx_echo updated to v0.40
ngx_headers_more updated to v0.18

added ngx_fancyindex

xav commented on 2012-07-26 17:45

It would be cool to add nginx-fancyindex too !!

Please take a look : https://github.com/damm/nginx-fancyindex

Thx !

rZn commented on 2012-07-08 02:12

Looks like a good pakage, will try it. Thanks

rZn commented on 2012-07-08 01:41

Looks like a good pakage, will try it. Thanks

akuznetcov commented on 2012-07-04 08:59

Nginx updated to 1.2.2
ngx_cache_purge updated to 1.6

akuznetcov commented on 2012-06-08 15:23

Nginx updated to 1.2.1

akuznetcov commented on 2012-04-25 03:14

ngx_slofs_cache gets bumped to 1.9 https://github.com/FRiCKLE/ngx_slowfs_cache/commits/1.9

Anonymous comment on 2012-04-24 18:42

Thanks. This package is what I was looking for.

akuznetcov commented on 2012-04-24 04:32

Nginx updated to 1.2.0

akuznetcov commented on 2012-04-13 00:11

Nginx and Upstream Fair update

akuznetcov commented on 2012-04-03 18:15

MODULES INCLUDED:
* Standard HTTP Modules
* Optional HTTP Modules: Debug, Gzip Precompression, Stub Status, IPv6, SSL, Real IP, Secure Link, Addition, XSLT, MP4, FLV, Substitution, Image Filter, Embedded Perl, Degradation, Random Index
* 3d Party Modules: Upstream Fair, Echo, Upload Progress, Cache Purge, Headers More, SlowFS Cache