add HTTP /generate_204 endpoint

This commit is contained in:
Daniel Micay 2020-04-02 04:20:27 -04:00
parent b123797d47
commit 9b99a3d8d9

View File

@ -93,7 +93,13 @@ server {
root /var/empty;
return 301 https://connectivitycheck.grapheneos.org$request_uri;
location = /generate_204 {
return 204;
}
location / {
return 301 https://connectivitycheck.grapheneos.org$request_uri;
}
}
server {