forked from LiveCarta/LiveCartaWP
@@ -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": [
|
||||||
{
|
{
|
||||||
|
|||||||
8
devops/nginx/env/dev/lawcarta_wordpress.conf
vendored
8
devops/nginx/env/dev/lawcarta_wordpress.conf
vendored
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user