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

Remove NM connectivity check file from al.org

With the ping.al.org domain added in[1] and a updated networkmanager
package shipped[2], we can now remove the file from the main domain.

[1] 498d5304 ("Merge branch 'ping' into 'master'")
    fabccd0f (""Move" NM connectivity check file to a subdomain")
[2] https://github.com/archlinux/svntogit-packages/commit/fb573170fc63c18f64eb4f155ed64a966a61b037
parent 197145bc
No related branches found
No related tags found
1 merge request!312Remove NM connectivity check file from al.org
...@@ -10,7 +10,6 @@ archweb_domains_redirects: ...@@ -10,7 +10,6 @@ archweb_domains_redirects:
'planet.archlinux.org': '/planet$request_uri' 'planet.archlinux.org': '/planet$request_uri'
archweb_domains_templates: archweb_domains_templates:
'ipxe.archlinux.org': 'ipxe.archlinux.org.j2' 'ipxe.archlinux.org': 'ipxe.archlinux.org.j2'
archweb_network_check_domain: 'www.archlinux.org'
archweb_allowed_hosts: ["{{ archweb_domain }}", 'ipxe.archlinux.org'] archweb_allowed_hosts: ["{{ archweb_domain }}", 'ipxe.archlinux.org']
archweb_nginx_conf: '/etc/nginx/nginx.d/archweb.conf' archweb_nginx_conf: '/etc/nginx/nginx.d/archweb.conf'
archweb_repository: 'https://github.com/archlinux/archweb.git' archweb_repository: 'https://github.com/archlinux/archweb.git'
......
...@@ -15,13 +15,6 @@ server { ...@@ -15,13 +15,6 @@ server {
include snippets/letsencrypt.conf; 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 / { location / {
access_log off; access_log off;
return 301 https://$server_name$request_uri; return 301 https://$server_name$request_uri;
...@@ -61,12 +54,6 @@ server { ...@@ -61,12 +54,6 @@ server {
include snippets/letsencrypt.conf; 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 / { location / {
access_log off; access_log off;
return 301 https://$server_name$request_uri; return 301 https://$server_name$request_uri;
......
...@@ -28,14 +28,6 @@ server { ...@@ -28,14 +28,6 @@ server {
include snippets/letsencrypt.conf; 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 { location /.well-known {
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
return 301 https://$server_name$request_uri; return 301 https://$server_name$request_uri;
...@@ -85,12 +77,6 @@ server { ...@@ -85,12 +77,6 @@ server {
include snippets/letsencrypt.conf; 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 / { location / {
access_log off; access_log off;
return 301 https://$server_name$request_uri; 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