From 89095afe993354755e426e8e457606b8a78b0121 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 30 Jul 2021 02:56:43 -0400 Subject: [PATCH] rename primary to 0 and replica1 to 1 --- certbot-replicate | 2 +- deploy-static | 4 ++-- nginx/nginx.conf | 10 +++++----- 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 / {