Skip to content
Snippets Groups Projects
Commit 54e3929b authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

Revert "Revert "Remove NM connectivity check file from al.org""

We did the revert to help a small business, but they had some time to
fix their setup, so we can revert the revert.

This reverts commit a842fbe7.
parent 5bc5118c
No related branches found
No related tags found
1 merge request!347Revert "Revert "Remove NM connectivity check file from al.org""
......@@ -10,7 +10,6 @@ archweb_domains_redirects:
'planet.archlinux.org': '/planet$request_uri'
archweb_domains_templates:
'ipxe.archlinux.org': 'ipxe.archlinux.org.j2'
archweb_network_check_domain: 'www.archlinux.org'
archweb_allowed_hosts: ["{{ archweb_domain }}", 'ipxe.archlinux.org']
archweb_nginx_conf: '/etc/nginx/nginx.d/archweb.conf'
archweb_repository: 'https://github.com/archlinux/archweb.git'
......
......@@ -16,13 +16,6 @@ server {
include snippets/letsencrypt.conf;
{% if domain == archweb_network_check_domain %}
location /check_network_status.txt {
access_log off;
add_header Cache-Control "max-age=0, must-revalidate";
return 200 'NetworkManager is online';
}
{% endif %}
location / {
access_log off;
return 301 https://$server_name$request_uri;
......@@ -64,12 +57,6 @@ server {
include snippets/letsencrypt.conf;
location /check_network_status.txt {
access_log off;
add_header Cache-Control "max-age=0, must-revalidate";
return 200 'NetworkManager is online';
}
location / {
access_log off;
return 301 https://$server_name$request_uri;
......
......@@ -34,14 +34,6 @@ server {
include snippets/letsencrypt.conf;
{% if domain['domain'] == archweb_network_check_domain %}
location /check_network_status.txt {
access_log off;
add_header Cache-Control "max-age=0, must-revalidate";
return 200 'NetworkManager is online';
}
{% endif %}
location /.well-known {
add_header Access-Control-Allow-Origin *;
return 301 https://$server_name$request_uri;
......@@ -93,12 +85,6 @@ server {
include snippets/letsencrypt.conf;
location /check_network_status.txt {
access_log off;
add_header Cache-Control "max-age=0, must-revalidate";
return 200 'NetworkManager is online';
}
location / {
access_log off;
return 301 https://$server_name$request_uri;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment