Commit efdce4e9 authored by Simon's avatar Simon

release 1.3.0

parent a1f6be59
......@@ -2,7 +2,7 @@ PROJECT=biuro-staging
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_MYSQL=mariadb:10.3
IMAGE_WORDPRESS=web:1.3.0
IMAGE_WORDPRESS=biuro/web:1.3.0
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.3
DB_NAME=staging_biuro
......
......@@ -115,7 +115,7 @@ services:
# wp plugin update --all;
wp plugin update akismet --version=4.1.2;
wp plugin update hello --version=1.7.2;
wp plugin uninstall hello;
# wp plugin activate akismet --network;
# wp plugin activate biuro-contacts --network;
......@@ -129,10 +129,14 @@ services:
# wp theme update --all;
# wp theme activate biuro;
wp theme delete twentynineteen
wp theme delete twentyseventeen
wp theme delete twentysixteen
wp language core update;
wp language theme update --all;
wp language plugin update --all;
# wp language theme update --all;
# wp language plugin update --all;
echo "WP CLI done. Ready to use.";
'
......
......@@ -2,15 +2,7 @@
# CV security redirects
# ----------------------------------------------------------------------
location ^~ /wp-content/uploads/2019/ {
try_files $uri $uri/ /index.php?$args;
if ($http_referer !~* .*livas.biuro.ee.*) {
return 403;
}
}
location ^~ /wp-content/uploads/additional/ {
location ^~ /wp-content/uploads/sites/3/additional/ {
try_files $uri $uri/ /index.php?$args;
if ($http_referer !~* .*livas.biuro.ee.*) {
......
......@@ -2,15 +2,7 @@
# CV security redirects
# ----------------------------------------------------------------------
location ^~ /wp-content/uploads/2019/ {
try_files $uri $uri/ /index.php?$args;
if ($http_referer !~* .*livas.biuro.lv.*) {
return 403;
}
}
location ^~ /wp-content/uploads/additional/ {
location ^~ /wp-content/uploads/sites/2/additional/ {
try_files $uri $uri/ /index.php?$args;
if ($http_referer !~* .*livas.biuro.lv.*) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment