diff --git a/Dockerfile b/Dockerfile index 8cc7ab2..9098a36 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,4 +7,4 @@ ENV LKRP_UL_URL="https://lkrp-dev.micord.ru/ul/" ENV LKRP_UL_LANDING="https://lkrp-dev.micord.ru/ul/#/home" ENV LKRP_FL_URL="https://lkrp-dev.micord.ru/fl/" ENV LKRP_FL_LANDING="https://lkrp-dev.micord.ru/fl/#/home" -ENV LKRP_CRT_CHECK_URL="https://e-trust.gosuslugi.ru" +ENV LKRP_CRT_CHECK_URL="https://xn--1-6tb.xn--b1afabzvcegckfhg.xn--p1ai/" diff --git a/config/nginx.conf.template b/config/nginx.conf.template index 42b664b..27d44b5 100644 --- a/config/nginx.conf.template +++ b/config/nginx.conf.template @@ -57,7 +57,7 @@ server { index index.html; expires -1; - add_header Content-Security-Policy "frame-ancestors 'none'; default-src 'self'; connect-src 'self' https://e-trust.gosuslugi.ru; script-src 'self'; style-src 'unsafe-inline' 'self' data:; font-src 'self' data:; img-src 'self' data:;"; + add_header Content-Security-Policy "frame-ancestors 'none'; default-src 'self'; connect-src 'self' http://xn--1-6tb.xn--b1afabzvcegckfhg.xn--p1ai/ https://xn--2-6tb.xn--b1afbulhcegckfhg.xn--p1ai/; script-src 'self'; style-src 'unsafe-inline' 'self' data:; font-src 'self' data:; img-src 'self' data:;"; # Media: images, icons, video, audio, HTC location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|mp3|ogg|ogv|webm|htc|woff2|woff|ttf)$ { diff --git a/html/index.html b/html/index.html index 70687c0..c01988b 100644 --- a/html/index.html +++ b/html/index.html @@ -5,7 +5,7 @@ + content="default-src 'self'; connect-src 'self' http://xn--1-6tb.xn--b1afabzvcegckfhg.xn--p1ai/ https://xn--2-6tb.xn--b1afbulhcegckfhg.xn--p1ai/; script-src 'self'; style-src 'unsafe-inline' 'self' data:; font-src 'self' data:; img-src 'self' data:"/>