summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-07-30 02:56:43 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-07-30 03:02:46 -0400
commit89095afe993354755e426e8e457606b8a78b0121 (patch)
tree8b643146bd7911f909ba1f9fd8a1c18ec095c2c6
parente1ccefd1fadf52da5783a54bb8305d87a39778ea (diff)
rename primary to 0 and replica1 to 1
-rwxr-xr-xcertbot-replicate2
-rwxr-xr-xdeploy-static4
-rw-r--r--nginx/nginx.conf10
3 files changed, 8 insertions, 8 deletions
diff --git a/certbot-replicate b/certbot-replicate
index 76398497..e15b0b15 100755
--- a/certbot-replicate
+++ b/certbot-replicate
@@ -3,7 +3,7 @@
set -o errexit -o nounset -o pipefail
replicas=(
- replica1.grapheneos.org
+ 1.grapheneos.org
)
for replica in ${replicas[@]}; do
diff --git a/deploy-static b/deploy-static
index 0eb5628c..834bd787 100755
--- a/deploy-static
+++ b/deploy-static
@@ -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
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 8c6beb9d..e8880f0e 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -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 / {