# Обновление из Китая не удаётся из-за проблем с git

**URL:** https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799
**Category:** Self-hosting
**Created:** [01.Август.2021 07:02:02 UTC](https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799 "2021-08-01T07:02:02Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [01.Август.2021 16:15:59 UTC](https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799/6 "2021-08-01T16:15:59Z")

</div>

> [@leoniscsem](#):
>
> К сожалению, я не понимаю, как и где настроить конфигурацию, чтобы процессы pull запуска Discourse могли использовать прокси.

> [@Install discourse with internet access only via proxy](https://meta.discourse.org/t/install-discourse-with-internet-access-only-via-proxy/66396/5?u=falco):
>
> This is possible, you need: Export http and https ENV variables in your current shell Add the same variables to the env block inside the containers/app.yml file Add the same variables to the docker system.d service config file (read system.d docs on this, you will need to create a new service file somewhere). After this, our official guide will work just fine.

---

_[View the full topic](https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799)._
