Skip to content

Commit

Permalink
Let nginx listen op ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
Peetz0r committed Jan 26, 2021
1 parent e443b37 commit bed6253
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen [::]:{{ 8080 if matrix_nginx_proxy_enabled else 80 }};

server_name {{ matrix_nginx_proxy_proxy_element_hostname }};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen [::]:{{ 8080 if matrix_nginx_proxy_enabled else 80 }};
server_name {{ matrix_nginx_proxy_proxy_dimension_hostname }};

server_tokens off;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen [::]:{{ 8080 if matrix_nginx_proxy_enabled else 80 }};

server_name {{ matrix_nginx_proxy_base_domain_hostname }};
server_tokens off;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@

server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen [::]:{{ 8080 if matrix_nginx_proxy_enabled else 80 }};

server_name {{ matrix_nginx_proxy_proxy_jitsi_hostname }};

server_tokens off;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen [::]:{{ 8080 if matrix_nginx_proxy_enabled else 80 }};

server_name {{ matrix_nginx_proxy_proxy_riot_compat_redirect_hostname }};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@

server {
listen {{ 8080 if matrix_nginx_proxy_enabled else 80 }};
listen [::]:{{ 8080 if matrix_nginx_proxy_enabled else 80 }};

server_name {{ matrix_nginx_proxy_proxy_matrix_hostname }};

server_tokens off;
Expand Down

0 comments on commit bed6253

Please sign in to comment.