forked from LiveCarta/LiveCartaWP
LAW-2549
This commit is contained in:
6
devops/nginx/env/dev/lawcarta_wordpress.conf
vendored
6
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user