Skip to content

Instantly share code, notes, and snippets.

@vchimishuk
Created October 2, 2018 16:41
Show Gist options
  • Save vchimishuk/987a885028ef4410722db809063afc98 to your computer and use it in GitHub Desktop.
Save vchimishuk/987a885028ef4410722db809063afc98 to your computer and use it in GitHub Desktop.

Revisions

  1. vchimishuk created this gist Oct 2, 2018.
    32 changes: 32 additions & 0 deletions graphite-nginx-module.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    --- rules 2017-02-11 22:00:57.000000000 +0100
    +++ /home/vchimishuk/nginx-build/nginx-1.10.3/debian/rules 2018-09-28 17:26:47.041698014 +0200
    @@ -80,7 +80,8 @@
    --without-http_ssi_module \
    --without-http_userid_module \
    --without-http_uwsgi_module \
    - --add-module=$(MODULESDIR)/nginx-echo
    + --add-module=$(MODULESDIR)/nginx-echo \
    + --add-module=$(MODULESDIR)/graphite-nginx-module

    full_configure_flags := \
    $(common_configure_flags) \
    @@ -102,7 +103,8 @@
    --add-module=$(MODULESDIR)/nginx-dav-ext-module \
    --add-module=$(MODULESDIR)/nginx-echo \
    --add-module=$(MODULESDIR)/nginx-upstream-fair \
    - --add-module=$(MODULESDIR)/ngx_http_substitutions_filter_module
    + --add-module=$(MODULESDIR)/ngx_http_substitutions_filter_module \
    + --add-module=$(MODULESDIR)/graphite-nginx-module

    extras_configure_flags := \
    $(common_configure_flags) \
    @@ -136,7 +138,8 @@
    --add-module=$(MODULESDIR)/nginx-lua \
    --add-module=$(MODULESDIR)/nginx-upload-progress \
    --add-module=$(MODULESDIR)/nginx-upstream-fair \
    - --add-module=$(MODULESDIR)/ngx_http_substitutions_filter_module
    + --add-module=$(MODULESDIR)/ngx_http_substitutions_filter_module \
    + --add-module=$(MODULESDIR)/graphite-nginx-module

    %:
    dh $@ --with systemd