Skip to content

Docker container with Yandex.Metrika nginx proxy for Ukraine, etc.

License

Notifications You must be signed in to change notification settings

gebeto/docker-yandex-metrika-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-yandex-metrika-proxy

Docker container with Yandex.Metrika nginx proxy for Ukraine, etc.

Based on nginx:alpine with additionally installed python gebeto/nginx-python with apk add python

Usage example

This command run proxy and generate tag.js file with metrika http://localhost url

 $ docker run \
 	-p 80:9999 \
 	-e "PROXY_URL=http://localhost" \
 	-v -it gebeto/yandex-metrika-proxy

Purpose

I am from Ukraine and Yandex are blocked in this country. Yandex's solution (Alternative CDN) are not help me to fix my problem, because this solution send metrika data to mc.yandex.ru but it is blocked😅. So I create this proxy with nginx (proxy_pass) to setup it on your host and send all metrika data to it, additionally I create script on python that replace mc.yandex.ru host to host of your server.

Old metrika logic was:

USER -> YANDEX_METRIKA

New is:

USER -> YOUR_HOST -> YANDEX_METRIKA

About

Docker container with Yandex.Metrika nginx proxy for Ukraine, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published