Signal Sciences support (#254)

* test out setting up signal sciences

* tweak the signalsciences config a little

* try out the updated signal sciences heroku integration

* use the old ngnix start script, as signalsciences is now nginx based

* make sure sigsci conf is included in our custom nginx config

* remove the custom port stuff, no longer needed
This commit is contained in:
Josh Kalderimis 2016-05-26 17:44:12 +02:00 committed by Konstantin Haase
parent 6e51368525
commit efb9d899b2
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,3 @@
https://github.com/heroku/heroku-buildpack-ruby.git
https://github.com/drogus/last-commit-sha-buildpack.git
https://github.com/ryandotsmith/nginx-buildpack.git
https://dl.signalsciences.net/heroku/sigsci-buildpack-nginx.tgz

View File

@ -9,9 +9,13 @@ events {
}
http {
gzip on;
gzip_comp_level 2;
gzip_min_length 512;
gzip on;
gzip_comp_level 2;
gzip_min_length 512;
<% unless ENV['SIGSCI_ENABLED'].nil? || ENV['SIGSCI_ENABLED'].empty? %>
include "../sigsci-module-nginx/sigsci.conf";
<% end %>
server_tokens off;