[origins] Added https_only tests

pull/7/head
Andrew Krasichkov 2017-04-04 00:12:22 +03:00
parent d66c5e1f5f
commit e0739aac9d
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# Options: {"domains": ["yandex.ru"], "https_only": true}
if ($http_origin !~ '^https?:\/\/yandex\.ru\/') {
}

View File

@ -0,0 +1,5 @@
# Options: {"domains": ["yandex.ru"], "https_only": true}
if ($http_origin !~ '^https:\/\/yandex\.ru\/') {
}