add redirect 302 to HTTPS

pub.solar
teutat3s 2020-04-04 00:08:32 +02:00
parent d706a4c357
commit a066791a25
Signed by: teutat3s
GPG Key ID: 18DAE600A6BBE705
1 changed files with 4 additions and 0 deletions

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 {