Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
www.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
www.biuro
Commits
72c267df
Commit
72c267df
authored
Jun 10, 2019
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.3.0
parent
e8098a81
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
25 deletions
+27
-25
.env
.env
+1
-1
docker-compose.yml
docker-compose.yml
+10
-22
biuro.ee.conf
nginx/redirects/biuro.ee.conf
+3
-1
biuro.lt.conf
nginx/redirects/biuro.lt.conf
+10
-0
biuro.lv.conf
nginx/redirects/biuro.lv.conf
+3
-1
No files found.
.env
View file @
72c267df
...
@@ -2,7 +2,7 @@ PROJECT=biuro-www
...
@@ -2,7 +2,7 @@ PROJECT=biuro-www
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_MYSQL=mariadb:10.3
IMAGE_MYSQL=mariadb:10.3
IMAGE_WORDPRESS=biuro/web:1.
2
.0
IMAGE_WORDPRESS=biuro/web:1.
3
.0
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.3
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.3
DB_NAME=www_biuro
DB_NAME=www_biuro
...
...
docker-compose.yml
View file @
72c267df
...
@@ -97,33 +97,21 @@ services:
...
@@ -97,33 +97,21 @@ services:
/bin/sh -c '
/bin/sh -c '
sleep 45;
sleep 45;
echo "WP CLI init";
echo "WP CLI init";
wp core update --force;
wp core update --force;
wp core update-db --network;
wp core update-db --network;
wp option update permalink_structure "/%postname%/" --skip-themes --skip-plugins;
# wp option update timezone_string "Manual Offsets/UTC+2";
wp plugin update akismet --version=4.1.2;
# wp option update date_format "Y-m-d";
wp plugin uninstall hello;
wp option update time_format "H:i";
# wp plugin install permalink-manager --force --activate-network;
wp theme delete twentynineteen
wp plugin install pods --activate-network;
wp theme delete twentyseventeen
wp plugin install polylang --activate-network;
wp theme delete twentysixteen
wp plugin install wordpress-seo --activate-network;
wp plugin install loco-translate --activate-network;
wp plugin install google-sitemap-generator --activate-network;
wp plugin update --all;
wp plugin activate akismet --network;
wp plugin activate biuro-contacts --network;
wp plugin activate biuro-feedbacks --network;
wp plugin activate biuro-html --network;
wp plugin activate biuro-sections --network;
wp plugin activate biuro-services --network;
wp plugin activate biuro-values --network;
wp plugin activate cookies-warning --network;
wp plugin activate data-controller --network;
wp theme update --all;
wp theme activate biuro;
wp language core update;
wp language core update;
wp language theme update --all;
wp language theme update --all;
wp language plugin update --all;
wp language plugin update --all;
echo "WP CLI done. Ready to use.";
echo "WP CLI done. Ready to use.";
'
'
...
...
nginx/redirects/biuro.ee.conf
View file @
72c267df
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# CV security redirects
# CV security redirects
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
location
^~ /
wp
-
content
/
uploads
/
2019
/ {
location
^~ /
wp
-
content
/
uploads
/
sites
/
3
/
additional
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
if
($
http_referer
!~* .*
livas
.
biuro
.
ee
.*) {
if
($
http_referer
!~* .*
livas
.
biuro
.
ee
.*) {
...
@@ -14,6 +14,8 @@ location ^~ /wp-content/uploads/2019/ {
...
@@ -14,6 +14,8 @@ location ^~ /wp-content/uploads/2019/ {
# 301 biuro.ee redirects
# 301 biuro.ee redirects
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
rewrite
^/
admin
/?$ /
wp
-
login
.
php
permanent
;
# Biuro SEO issues
# Biuro SEO issues
# https://docs.google.com/spreadsheets/d/1dXP0dh_v2sFajrcwR2_9HONMadCdZQW4Y2dVXvhxG3E/edit?ts=5b5eaa6b#gid=0
# https://docs.google.com/spreadsheets/d/1dXP0dh_v2sFajrcwR2_9HONMadCdZQW4Y2dVXvhxG3E/edit?ts=5b5eaa6b#gid=0
# https://docs.google.com/spreadsheets/d/1wFz9wrCsPOwCm0R0NnrImhUMFlF35Y4-vCOL7fyZpmI/edit#gid=280898487
# https://docs.google.com/spreadsheets/d/1wFz9wrCsPOwCm0R0NnrImhUMFlF35Y4-vCOL7fyZpmI/edit#gid=280898487
...
...
nginx/redirects/biuro.lt.conf
View file @
72c267df
...
@@ -10,10 +10,20 @@ location ^~ /wp-content/uploads/2019/ {
...
@@ -10,10 +10,20 @@ location ^~ /wp-content/uploads/2019/ {
}
}
}
}
location
^~ /
wp
-
content
/
uploads
/
additional
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
if
($
http_referer
!~* .*
livas
.
biuro
.
lt
.*) {
return
403
;
}
}
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# 301 biuro.lt redirects
# 301 biuro.lt redirects
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
rewrite
^/
admin
/?$ /
wp
-
login
.
php
permanent
;
# rewrite ^/darbo-pasiulymai$ / permanent;
# rewrite ^/darbo-pasiulymai$ / permanent;
# rewrite ^/darbo-pasiulymai/(.*)$ /? permanent;
# rewrite ^/darbo-pasiulymai/(.*)$ /? permanent;
...
...
nginx/redirects/biuro.lv.conf
View file @
72c267df
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# CV security redirects
# CV security redirects
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
location
^~ /
wp
-
content
/
uploads
/
2019
/ {
location
^~ /
wp
-
content
/
uploads
/
sites
/
2
/
additional
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
if
($
http_referer
!~* .*
livas
.
biuro
.
lv
.*) {
if
($
http_referer
!~* .*
livas
.
biuro
.
lv
.*) {
...
@@ -14,6 +14,8 @@ location ^~ /wp-content/uploads/2019/ {
...
@@ -14,6 +14,8 @@ location ^~ /wp-content/uploads/2019/ {
# 301 biuro.lv redirects
# 301 biuro.lv redirects
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
rewrite
^/
admin
/?$ /
wp
-
login
.
php
permanent
;
# Biuro SEO issues
# Biuro SEO issues
# https://docs.google.com/spreadsheets/d/1dXP0dh_v2sFajrcwR2_9HONMadCdZQW4Y2dVXvhxG3E/edit?ts=5b5eaa6b#gid=0
# https://docs.google.com/spreadsheets/d/1dXP0dh_v2sFajrcwR2_9HONMadCdZQW4Y2dVXvhxG3E/edit?ts=5b5eaa6b#gid=0
# https://docs.google.com/spreadsheets/d/1wFz9wrCsPOwCm0R0NnrImhUMFlF35Y4-vCOL7fyZpmI/edit#gid=0
# https://docs.google.com/spreadsheets/d/1wFz9wrCsPOwCm0R0NnrImhUMFlF35Y4-vCOL7fyZpmI/edit#gid=0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment