]> Cypherpunks.ru repositories - gocheese.git/blobdiff - doc/proxy.texi
More convenient trusted-host
[gocheese.git] / doc / proxy.texi
index ef8d30e99973d9df9e10c130e8f6aa029fbc9848..a06e82e601c355e92b44c0e0ffcbfd03e0d69693 100644 (file)
@@ -19,13 +19,6 @@ refresh is needed. Each refresh update the package's metadata (if
 Same as above, but does not refresh data from the upstream, completely
 read only mode.
 
 Same as above, but does not refresh data from the upstream, completely
 read only mode.
 
-@item @code{/gpgupdate/} (@option{-gpgupdate} option)
-Refresh the package state from the upstream as above, but additionally
-check and download missing GPG signatures. Intended to be used only
-manually, for example after database migration.
-It is probably useful to set @env{$GOCHEESE_NO_SYNC=1} environment
-variable to turn off filesystem synchronization calls.
-
 @item @code{/pypi/} (@option{-json} option)
 Read only (non refreshing) JSON API entrypoint, giving metadata for the
 packages and releases.
 @item @code{/pypi/} (@option{-json} option)
 Read only (non refreshing) JSON API entrypoint, giving metadata for the
 packages and releases.
@@ -38,6 +31,7 @@ Those URLs give human readable packages listing and package information.
 To use GoCheese as a proxy, just configure your @file{pip.conf}:
 
 @example
 To use GoCheese as a proxy, just configure your @file{pip.conf}:
 
 @example
-[install]
+[global]
 index-url = http://gocheese.host:8080/simple/
 index-url = http://gocheese.host:8080/simple/
+trusted-host = gocheese.host
 @end example
 @end example