rename primary to 0 and replica1 to 1
This commit is contained in:
parent
e1ccefd1fa
commit
89095afe99
@ -3,7 +3,7 @@
|
|||||||
set -o errexit -o nounset -o pipefail
|
set -o errexit -o nounset -o pipefail
|
||||||
|
|
||||||
replicas=(
|
replicas=(
|
||||||
replica1.grapheneos.org
|
1.grapheneos.org
|
||||||
)
|
)
|
||||||
|
|
||||||
for replica in ${replicas[@]}; do
|
for replica in ${replicas[@]}; do
|
||||||
|
@ -6,8 +6,8 @@ set -o errexit -o nounset -o pipefail
|
|||||||
./process-static
|
./process-static
|
||||||
|
|
||||||
servers=(
|
servers=(
|
||||||
primary.grapheneos.org
|
0.grapheneos.org
|
||||||
replica1.grapheneos.org
|
1.grapheneos.org
|
||||||
)
|
)
|
||||||
|
|
||||||
for server in ${servers[@]}; do
|
for server in ${servers[@]}; do
|
||||||
|
@ -91,7 +91,7 @@ http {
|
|||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:443 ssl http2;
|
||||||
server_name primary.grapheneos.org;
|
server_name 0.grapheneos.org;
|
||||||
|
|
||||||
root /var/empty;
|
root /var/empty;
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ http {
|
|||||||
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
||||||
|
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
return 301 https://primary.grapheneos.org$request_uri;
|
return 301 https://0.grapheneos.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
@ -134,7 +134,7 @@ http {
|
|||||||
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
||||||
|
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
return 301 https://primary.grapheneos.org$request_uri;
|
return 301 https://0.grapheneos.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
@ -272,7 +272,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
return 301 https://primary.grapheneos.org$request_uri;
|
return 301 https://0.grapheneos.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ^~ /fonts/ {
|
location ^~ /fonts/ {
|
||||||
@ -385,7 +385,7 @@ http {
|
|||||||
location = /.well-known/mta-sts.txt {}
|
location = /.well-known/mta-sts.txt {}
|
||||||
|
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
return 301 https://primary.grapheneos.org$request_uri;
|
return 301 https://0.grapheneos.org$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user