2 private links
如果你的包管理器想直接使用优秀的镜像仓库,请参考这个:https://github.com/eryajf/Thanks-Mirror 目录 #pip #git #cargo #apt-apt-get #curl #gradle #maven #go-get #npm #rustup #yarn #yarn2 #gem #brew #wget #snap #docker #electron-dev-dependency #visual-studio-code-remote-wsl2 #visual-studio-code-remote-ssh #tips #scoop #openwrt-opkg #chocolatey #guix #faq pip ~/.config/pip/pip.conf [global] proxy=http://localhost:1087 注意不支持socks5 [...] 环境变量 HTTPS_PROXY & https_proxy & http_proxy export https_proxy=http://127.0.0.1:1080 export http_proxy=http://127.0.0.1:1080 http_proxy 一般来讲没必要,除非使用基于 HTTP 的 Crate Repository [...] Reference https://askubuntu.com/questions/764610/how-to-install-snap-packages-behind-web-proxy-on-ubuntu-16-04#answer-1146047 docker $ sudo mkdir -p /etc/systemd/system/docker.service.d $ sudo vim /etc/systemd/system/docker.service.d/proxy.conf [Service] Environment="ALL_PROXY=socks5://localhost:1080" $ sudo systemctl daemon-reload $ sudo systemctl restart docker 必须是socks5,http不生效
This is an experimental proof of concept. It was written hastily without knowledge of the real internal mechanisms. [...] If you have the time and energy, feel free to help out with PRs or suggestions. [...] Nginx configuration map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 80 default_server; listen [::]:80 default_server; location / { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; proxy_set_header Host $host; proxy_pass http://127.0.0.1:3000/; } servername ; } [...] As ObsidianMD is written with Electron, you can unzip the resource pack and modify it to suite your needs