Verified Commit 93f5d62d authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files
parent c9b667db
......@@ -10,7 +10,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -5,7 +5,7 @@ archweb_alternate_domains: ['archlinux.org', 'master-key.archlinux.org', 'dev.ar
archweb_domains_redirects:
'master-key.archlinux.org': '/master-keys'
'dev.archlinux.org': '/'
'packages.archlinux.org': '/packages$1'
'packages.archlinux.org': '/packages$request_uri'
archweb_repository: 'https://github.com/archlinux/archweb.git'
archweb_version: release_2019-08-01
archweb_site: true
......
......@@ -16,7 +16,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://{{ domain }}$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......@@ -34,12 +34,12 @@ server {
location / {
access_log off;
rewrite ^(.*) https://{{ archweb_domain }}
return 301 https://{{ archweb_domain }}
{%- if archweb_domains_redirects -%}
{{ archweb_domains_redirects[domain]|default('$1') }}
{{ archweb_domains_redirects[domain]|default('$request_uri') }}
{%- else -%}
$1
{%- endif %} permanent;
$request_uri
{%- endif %};
}
}
{% endfor %}
......@@ -66,7 +66,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://{{ archweb_domain }}$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -14,7 +14,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -10,7 +10,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -14,7 +14,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -14,7 +14,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -14,7 +14,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -10,7 +10,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://{{ mailman_domain }}$1 permanent;
return 301 https://{{ mailman_domain }}$request_uri;
}
}
......@@ -28,6 +28,6 @@ server {
location / {
access_log off;
rewrite ^(.*) https://{{ mailman_domain }}$1 permanent;
return 301 https://{{ mailman_domain }}$request_uri;
}
}
......@@ -14,7 +14,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://{{ matrix_domain }}$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -14,7 +14,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://{{ patchwork_domain }}$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -10,7 +10,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -11,7 +11,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -14,7 +14,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -10,7 +10,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
......@@ -14,7 +14,7 @@ server {
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
return 301 https://$server_name$request_uri;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment