Verified Commit ebd659d6 authored by Florian Pritz's avatar Florian Pritz
Browse files

Disable access log for https redirects in nginx


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 68fbaca2
......@@ -9,6 +9,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
......@@ -15,6 +15,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://{{ domain }}$1 permanent;
}
}
......@@ -32,6 +33,7 @@ server {
ssl_trusted_certificate /etc/letsencrypt/live/{{ archweb_domain }}/chain.pem;
location / {
access_log off;
rewrite ^(.*) https://{{ archweb_domain }}
{%- if archweb_domains_redirects -%}
{{ archweb_domains_redirects[domain]|default('$1') }}
......@@ -63,6 +65,7 @@ server {
}
location / {
access_log off;
rewrite ^(.*) https://{{ archweb_domain }}$1 permanent;
}
}
......
......@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
......@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
......@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
......@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
......@@ -9,6 +9,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://{{ mailman_domain }}$1 permanent;
}
}
......@@ -26,6 +27,7 @@ server {
ssl_trusted_certificate /etc/letsencrypt/live/mailman.archlinux.org/chain.pem;
location / {
access_log off;
rewrite ^(.*) https://{{ mailman_domain }}$1 permanent;
}
}
......@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://{{ matrix_domain }}$1 permanent;
}
}
......
......@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://{{ patchwork_domain }}$1 permanent;
}
}
......
......@@ -9,6 +9,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
......@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
......@@ -9,6 +9,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
......@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
......
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