Merge pull request #2454 from gregory-p/wordpress

Wordpress
This commit is contained in:
bivis
2019-02-27 14:47:29 +02:00
committed by GitHub
2 changed files with 6 additions and 5 deletions

View File

@@ -13,7 +13,8 @@
"wpackagist-plugin/wp-rest-api-v2-menus": "~0.3.1", "wpackagist-plugin/wp-rest-api-v2-menus": "~0.3.1",
"wpackagist-plugin/wp-mail-smtp": "~1.4.1", "wpackagist-plugin/wp-mail-smtp": "~1.4.1",
"wpackagist-plugin/cf7-field-validation": "~1.1.3", "wpackagist-plugin/cf7-field-validation": "~1.1.3",
"wpackagist-plugin/taxonomy-terms-order": "~1.5.5" "wpackagist-plugin/taxonomy-terms-order": "~1.5.5",
"wpackagist-plugin/meta-tag-manager": "~2.1.0"
}, },
"repositories": [ "repositories": [
{ {

View File

@@ -1,6 +1,6 @@
server { server {
server_name wp-dev.lawcarta.com wp-dev.livecarta.com; server_name dev1.lawcarta.com dev1.livecarta.com;
root /var/www/WordPress/htdocs/; root /var/www/WordPress/htdocs/;
index index.html index.php; index index.html index.php;
@@ -48,12 +48,12 @@ server {
} }
server { server {
if ($host = wp-dev.livecarta.com) { if ($host = dev1.livecarta.com) {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} # managed by Certbot } # managed by Certbot
if ($host = wp-dev.lawcarta.com) { if ($host = dev1.lawcarta.com) {
return 301 https://$host$request_uri; return 301 https://$host$request_uri;
} # managed by Certbot } # managed by Certbot
@@ -61,7 +61,7 @@ server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name wp-dev.lawcarta.com wp-dev.livecarta.com; server_name dev1.lawcarta.com dev1.livecarta.com;
return 404; # managed by Certbot return 404; # managed by Certbot