Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
be5399db
Verified
Commit
be5399db
authored
Nov 18, 2021
by
Jan Alexander Steffens (heftig)
Browse files
matrix: Whitespace
parent
fde08f41
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/matrix/templates/nginx.d.conf.j2
View file @
be5399db
...
...
@@ -30,16 +30,16 @@ server {
access_log /var/log/nginx/{{ matrix_domain }}/access.log.json json_reduced;
error_log /var/log/nginx/{{ matrix_domain }}/error.log;
ssl_certificate /etc/letsencrypt/live/{{ matrix_domain }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ matrix_domain }}/privkey.pem;
ssl_certificate
/etc/letsencrypt/live/{{ matrix_domain }}/fullchain.pem;
ssl_certificate_key
/etc/letsencrypt/live/{{ matrix_domain }}/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/{{ matrix_domain }}/chain.pem;
{% for config in matrix_nginx_config %}
# {{ config.name }}
{% for location in config.locations %}
location {{ location }} {
access_log
/var/log/nginx/{{ matrix_domain }}/access.log main;
access_log
/var/log/nginx/{{ matrix_domain }}/access.log.json json_main;
access_log /var/log/nginx/{{ matrix_domain }}/access.log main;
access_log /var/log/nginx/{{ matrix_domain }}/access.log.json json_main;
proxy_pass http://matrix_{{ config.name }};
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
...
...
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