Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
ebd659d6
Verified
Commit
ebd659d6
authored
May 30, 2018
by
Florian Pritz
Browse files
Disable access log for https redirects in nginx
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
68fbaca2
Changes
13
Hide whitespace changes
Inline
Side-by-side
roles/archive/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -9,6 +9,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
roles/archweb/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -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;
}
}
...
...
roles/archwiki/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
roles/flyspray/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
roles/grafana/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
roles/kanboard/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
roles/mailman/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -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;
}
}
roles/matrix/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://{{ matrix_domain }}$1 permanent;
}
}
...
...
roles/patchwork/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://{{ patchwork_domain }}$1 permanent;
}
}
...
...
roles/planet/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -9,6 +9,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
roles/security_tracker/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
roles/sources/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -9,6 +9,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
roles/zabbix-server/templates/nginx.d.conf.j2
View file @
ebd659d6
...
...
@@ -13,6 +13,7 @@ server {
include snippets/letsencrypt.conf;
location / {
access_log off;
rewrite ^(.*) https://$server_name$1 permanent;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment