From 527e32add1513cc35fecfc340943407e799026ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 8 Jan 2019 15:20:06 +0100 Subject: Add connexionswing production --- virtual/packages/connexionswing.nix | 3 + virtual/packages/connexionswing_goaccess.conf | 99 +++++++++++++++++++++++++++ virtual/packages/connexionswing_master.json | 6 +- 3 files changed, 105 insertions(+), 3 deletions(-) create mode 100644 virtual/packages/connexionswing_goaccess.conf (limited to 'virtual/packages') diff --git a/virtual/packages/connexionswing.nix b/virtual/packages/connexionswing.nix index 199c893..1f3f2d5 100644 --- a/virtual/packages/connexionswing.nix +++ b/virtual/packages/connexionswing.nix @@ -121,6 +121,8 @@ let '' else '' + Use Stats connexionswing.com + Options Indexes FollowSymLinks MultiViews Includes AllowOverride All @@ -158,6 +160,7 @@ let ln -sf ../../../../../${varDir}/{medias,uploads} web/images/ ln -sf ${configRoot} app/config/parameters.yml + sed -i -e "/Incenteev..ParameterHandler..ScriptHandler::buildParameters/d" composer.json ${if environment == "dev" then "php bin/composer install" else '' SYMFONY_ENV=prod php bin/composer install --no-dev ./bin/console assetic:dump --env=prod --no-debug diff --git a/virtual/packages/connexionswing_goaccess.conf b/virtual/packages/connexionswing_goaccess.conf new file mode 100644 index 0000000..05ad083 --- /dev/null +++ b/virtual/packages/connexionswing_goaccess.conf @@ -0,0 +1,99 @@ +time-format %H:%M:%S +date-format %d/%b/%Y + +#sur immae.eu +#log-format %v %h %^[%d:%t %^] "%r" %s %b "%R" "%u" $^ + +log-format VCOMBINED +#= %v:%^ %h %^[%d:%t %^] "%r" %s %b "%R" "%u" + +html-prefs {"theme":"bright","layout":"vertical"} + +exclude-ip 188.165.209.148 +exclude-ip 178.33.252.96 +exclude-ip 2001:41d0:2:9c94::1 +exclude-ip 2001:41d0:2:9c94:: +exclude-ip 176.9.151.89 +exclude-ip 2a01:4f8:160:3445:: +exclude-ip 82.255.56.72 + +no-query-string true + +keep-db-files true +load-from-disk true +db-path /var/lib/goaccess/connexionswing.com + +ignore-panel REFERRERS +ignore-panel KEYPHRASES + +static-file .css +static-file .js +static-file .jpg +static-file .png +static-file .gif +static-file .ico +static-file .jpeg +static-file .pdf +static-file .csv +static-file .mpeg +static-file .mpg +static-file .swf +static-file .woff +static-file .woff2 +static-file .xls +static-file .xlsx +static-file .doc +static-file .docx +static-file .ppt +static-file .pptx +static-file .txt +static-file .zip +static-file .ogg +static-file .mp3 +static-file .mp4 +static-file .exe +static-file .iso +static-file .gz +static-file .rar +static-file .svg +static-file .bmp +static-file .tar +static-file .tgz +static-file .tiff +static-file .tif +static-file .ttf +static-file .flv +#static-file .less +#static-file .ac3 +#static-file .avi +#static-file .bz2 +#static-file .class +#static-file .cue +#static-file .dae +#static-file .dat +#static-file .dts +#static-file .ejs +#static-file .eot +#static-file .eps +#static-file .img +#static-file .jar +#static-file .map +#static-file .mid +#static-file .midi +#static-file .ogv +#static-file .webm +#static-file .mkv +#static-file .odp +#static-file .ods +#static-file .odt +#static-file .otf +#static-file .pict +#static-file .pls +#static-file .ps +#static-file .qt +#static-file .rm +#static-file .svgz +#static-file .wav +#static-file .webp + + diff --git a/virtual/packages/connexionswing_master.json b/virtual/packages/connexionswing_master.json index 30c0c96..2e1775b 100644 --- a/virtual/packages/connexionswing_master.json +++ b/virtual/packages/connexionswing_master.json @@ -1,5 +1,5 @@ { - "tag": "0c9458f-master", + "tag": "0330478-master", "meta": { "name": "connexionswing_master", "url": "gitolite@git.immae.eu:perso/Immae/Projets/Connexionswing", @@ -7,8 +7,8 @@ }, "git": { "url": "gitolite@git.immae.eu:perso/Immae/Projets/Connexionswing", - "rev": "0c9458fadbda05e1ffc54956162ee92ad4dd6aef", - "sha256": "04blmpfpb6j57m032vpddcn1775bwx537zvv7fi25ip2yg507fjv", + "rev": "0330478cd256e6e36f525d3d0a247bad06de319f", + "sha256": "1sh97965winvbmpzqhjidhqry9840fa701wvr4vxywccyg4dyr17", "fetchSubmodules": true } } -- cgit v1.2.3