From ada90236ee625202b568f65fd38e0f67e7e254f0 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 23 Jan 2020 12:47:30 +0100 Subject: [PATCH] Statics served from CDN --- apache.conf | 29 ----------------------------- debian/changelog | 2 +- docker-compose.yml | 6 ------ package.json | 2 +- 4 files changed, 2 insertions(+), 37 deletions(-) diff --git a/apache.conf b/apache.conf index 68027cde..7b51d1e1 100644 --- a/apache.conf +++ b/apache.conf @@ -1,6 +1,3 @@ -Alias /vn-image-data /var/lib/hedera-web/image-db/ -Alias /vn-access /mnt/storage/vn-access/ - AddType text/x-yaml .yml @@ -24,29 +21,3 @@ Alias /vn-access /mnt/storage/vn-access/ - - - Options +Indexes +FollowSymLinks - Require all granted - - - - Options -Indexes -MultiViews +FollowSymLinks - AllowOverride FileInfo Options - Require all granted - - - RewriteEngine On - RewriteBase / - RewriteCond %{REQUEST_FILENAME} !\.[a-zA-Z0-9]+$ - RewriteRule ^(.+)$ %{REQUEST_URI}.png [L] - - - - - Require all granted - AllowOverride None - Options +Indexes - IndexIgnoreReset On - Header set X-Robots-Tag "noindex, nofollow" - diff --git a/debian/changelog b/debian/changelog index 435415ae..a655fede 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.98) stable; urgency=low +hedera-web (1.406.99) stable; urgency=low * Initial Release. diff --git a/docker-compose.yml b/docker-compose.yml index 05fa82f4..9bff5a65 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,12 +12,9 @@ services: target: /etc/hedera-web/config.my.php - source: test target: /etc/hedera-web/config.test.php - - source: apache - target: /etc/apache2/conf-enabled/vn-share.conf volumes: - /mnt/storage/image:/var/lib/hedera-web/image-db - /mnt/storage/vn-access:/mnt/storage/vn-access - - /mnt/storage/share:/mnt/storage/share deploy: replicas: 3 cron: @@ -35,6 +32,3 @@ configs: test: external: true name: ${PROJECT_NAME:?}_test - apache: - external: true - name: ${PROJECT_NAME:?}_apache diff --git a/package.json b/package.json index 2f53db30..205b12e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.98", + "version": "1.406.99", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": {