浏览代码

Merge pull request #17992 from nak3/fix-wrong-setting-in-systemd

Fix invalid proxy setting example
David Calavera 9 年之前
父节点
当前提交
3f5e5b8f57
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/articles/systemd.md

+ 1 - 1
docs/articles/systemd.md

@@ -134,7 +134,7 @@ that adds the `HTTP_PROXY` environment variable:
 If you have internal Docker registries that you need to contact without
 proxying you can specify them via the `NO_PROXY` environment variable:
 
-    Environment="HTTP_PROXY=http://proxy.example.com:80/" "NO_PROXY=localhost,127.0.0.0/8,docker-registry.somecorporation.com"
+    Environment="HTTP_PROXY=http://proxy.example.com:80/" "NO_PROXY=localhost,127.0.0.1,docker-registry.somecorporation.com"
 
 Flush changes: