add redirect 302 to HTTPS

This commit is contained in:
teutat3s 2020-04-04 00:08:32 +02:00
parent d706a4c357
commit a066791a25
Signed by: teutat3s
GPG key ID: 18DAE600A6BBE705

View file

@ -19,6 +19,10 @@
default_type application/json;
add_header Access-Control-Allow-Origin *;
}
location / {
return 302 https://{{ matrix_nginx_proxy_proxy_riot_hostname }};
}
{% endmacro %}
server {