rename primary to 0 and replica1 to 1

This commit is contained in:
Daniel Micay 2021-07-30 02:56:43 -04:00
parent e1ccefd1fa
commit 89095afe99
3 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
set -o errexit -o nounset -o pipefail
replicas=(
replica1.grapheneos.org
1.grapheneos.org
)
for replica in ${replicas[@]}; do

View File

@ -6,8 +6,8 @@ set -o errexit -o nounset -o pipefail
./process-static
servers=(
primary.grapheneos.org
replica1.grapheneos.org
0.grapheneos.org
1.grapheneos.org
)
for server in ${servers[@]}; do

View File

@ -91,7 +91,7 @@ http {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name primary.grapheneos.org;
server_name 0.grapheneos.org;
root /var/empty;
@ -115,7 +115,7 @@ http {
add_header Cross-Origin-Resource-Policy "same-origin" always;
location ^~ /.well-known/acme-challenge/ {
return 301 https://primary.grapheneos.org$request_uri;
return 301 https://0.grapheneos.org$request_uri;
}
location / {
@ -134,7 +134,7 @@ http {
add_header Cross-Origin-Resource-Policy "same-origin" always;
location ^~ /.well-known/acme-challenge/ {
return 301 https://primary.grapheneos.org$request_uri;
return 301 https://0.grapheneos.org$request_uri;
}
location / {
@ -272,7 +272,7 @@ http {
}
location ^~ /.well-known/acme-challenge/ {
return 301 https://primary.grapheneos.org$request_uri;
return 301 https://0.grapheneos.org$request_uri;
}
location ^~ /fonts/ {
@ -385,7 +385,7 @@ http {
location = /.well-known/mta-sts.txt {}
location ^~ /.well-known/acme-challenge/ {
return 301 https://primary.grapheneos.org$request_uri;
return 301 https://0.grapheneos.org$request_uri;
}
location / {