forked from verdnatura/hedera-web
Statics served from CDN
This commit is contained in:
parent
d91a40de3e
commit
ada90236ee
29
apache.conf
29
apache.conf
|
@ -1,6 +1,3 @@
|
|||
Alias /vn-image-data /var/lib/hedera-web/image-db/
|
||||
Alias /vn-access /mnt/storage/vn-access/
|
||||
|
||||
<IfModule mod_mime.c>
|
||||
AddType text/x-yaml .yml
|
||||
</IfModule>
|
||||
|
@ -24,29 +21,3 @@ Alias /vn-access /mnt/storage/vn-access/
|
|||
</IfModule>
|
||||
</FilesMatch>
|
||||
</Directory>
|
||||
|
||||
<Directory /var/lib/hedera-web/image-db/>
|
||||
Options +Indexes +FollowSymLinks
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
<Directory /var/lib/hedera-web/image-db/*/*>
|
||||
Options -Indexes -MultiViews +FollowSymLinks
|
||||
AllowOverride FileInfo Options
|
||||
Require all granted
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
RewriteCond %{REQUEST_FILENAME} !\.[a-zA-Z0-9]+$
|
||||
RewriteRule ^(.+)$ %{REQUEST_URI}.png [L]
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<Directory /mnt/storage/vn-access>
|
||||
Require all granted
|
||||
AllowOverride None
|
||||
Options +Indexes
|
||||
IndexIgnoreReset On
|
||||
Header set X-Robots-Tag "noindex, nofollow"
|
||||
</Directory>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.406.98) stable; urgency=low
|
||||
hedera-web (1.406.99) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.98",
|
||||
"version": "1.406.99",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue