Browse Source

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

Fix invalid proxy setting example
David Calavera 9 năm trước cách đây
mục cha
commit
3f5e5b8f57
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: