<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Configuring Athens on Athens</title>
    <link>https://docs.gomods.io/configuration/index.html</link>
    <description>Recent content in Configuring Athens on Athens</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://docs.gomods.io/configuration/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The download mode file</title>
      <link>https://docs.gomods.io/configuration/download/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/download/index.html</guid>
      <description>Athens accepts an HCL formatted file that has instructions for how it should behave when a module@version isn&amp;rsquo;t found in its storage. This functionality gives Athens the flexibility configure Athens to fit your organization&amp;rsquo;s needs. The most popular uses of this download file are:&#xA;Configure Athens to never download or serve a module or group of modules Redirect to a different module proxy for a module or group of modules This document will outline how to use this file - called the download mode file - to accomplish these tasks and more.</description>
    </item>
    <item>
      <title>Authentication to private repositories</title>
      <link>https://docs.gomods.io/configuration/authentication/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/authentication/index.html</guid>
      <description>Authentication SVN private repositories Subversion creates an authentication structure in&#xA;~/.subversion/auth/svn.simple/&amp;lt;hash&amp;gt; In order to properly create the authentication file for your SVN servers you will need to authenticate to them and let svn build out the proper hashed files.&#xA;$ svn list http://&amp;lt;domain:port&amp;gt;/svn/&amp;lt;somerepo&amp;gt; Authentication realm: &amp;lt;http://&amp;lt;domain&amp;gt; Subversion Repository Username: test Password for &#39;test&#39;: Once we&amp;rsquo;ve properly authenticated we want to share the .subversion directory with the Athens proxy server in order to reuse those credentials.</description>
    </item>
    <item>
      <title>Configuring Storage</title>
      <link>https://docs.gomods.io/configuration/storage/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/storage/index.html</guid>
      <description>Storage The Athens proxy supports many storage types:&#xA;Storage Memory - Configuration: Disk - Configuration: Mongo - Configuration: Google Cloud Storage - Configuration: AWS S3 - Configuration: Minio - Configuration: DigitalOcean Spaces Configuration: Alibaba OSS Configuration: Azure Blob Storage - Configuration: External Storage - Configuration: Running multiple Athens pointed at the same storage Using etcd as the single flight mechanism Using redis as the single flight mechanism Direct connection to redis Connecting to redis via redis sentinel All of them can be configured using config.</description>
    </item>
    <item>
      <title>Proxying a checksum database API</title>
      <link>https://docs.gomods.io/configuration/sumdb/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/sumdb/index.html</guid>
      <description>If you run go get github.com/mycompany/secret-repo@v1.0.0 and that module version is not yet in your go.sum file, Go will by default send a request to https://sum.golang.org/lookup/github.com/mycompany/secret-repo@v1.0.0. That request will fail because the Go tool requires a checksum, but sum.golang.org doesn&amp;rsquo;t have access to your private code.&#xA;The result is that (1) your build will fail, and (2) your private module names have been sent over the internet to an opaque public server that you don&amp;rsquo;t control.</description>
    </item>
    <item>
      <title>Pre-filling disk storage</title>
      <link>https://docs.gomods.io/configuration/prefill-disk-cache/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/prefill-disk-cache/index.html</guid>
      <description>One of the popular features of Athens is that it can be run completely cut off from the internet. In this case, though, it can&amp;rsquo;t reach out to an upstream (e.g. a VCS or another module proxy) to fetch modules that it doesn&amp;rsquo;t have in storage. So, we need to manually fill up the disk partition that Athens uses with the dependencies that we need.&#xA;This document will guide you through packaging up a single module called github.</description>
    </item>
    <item>
      <title>Filtering modules (deprecated)</title>
      <link>https://docs.gomods.io/configuration/filter/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/filter/index.html</guid>
      <description>Note: the filter file that this page documents is deprecated. Please instead see &amp;ldquo;Filtering with the download mode file&amp;rdquo; for updated instructions on how to filter modules in Athens.&#xA;The proxy supports the following three use cases&#xA;Fetches a module directly from the source (upstream proxy) Exclude a particular module Include a module in the local proxy. These settings can be done by creating a configuration file which can be pointed by setting either FilterFile in config.</description>
    </item>
    <item>
      <title>Using an upstream Go modules repository (deprecated)</title>
      <link>https://docs.gomods.io/configuration/upstream/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/upstream/index.html</guid>
      <description>Note: the filter file that this page documents is deprecated. Please instead see &amp;ldquo;Filtering with the download mode file&amp;rdquo; for updated instructions on how to set upstream repositories in Athens.&#xA;By default, Athens fetches module code from an upstream version control system (VCS) like github.com, but this can be configured to use a Go modules repository like GoCenter or another Athens Server.&#xA;Create a filter file (e.g /usr/local/lib/FilterForGoCenter) with letter D (stands for &amp;ldquo;direct access&amp;rdquo;) in first line.</description>
    </item>
    <item>
      <title>Home template configuration</title>
      <link>https://docs.gomods.io/configuration/home-template/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/home-template/index.html</guid>
      <description>As of v0.14.0 Athens ships with a default, minimal HTML home page that advises users on how to connect to the proxy. It factors in whether GoNoSumPatterns is configured, and attempts to build configuration for GO_PROXY. It relies on the users request Host header (on HTTP 1.1) or the Authority header (on HTTP 2) as well as whether the request was over TLS to advise on configuring GO_PROXY. Lastly, the homepage provides a quick guide on how users can leverage the Athens API.</description>
    </item>
    <item>
      <title>Logging</title>
      <link>https://docs.gomods.io/configuration/logging/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.gomods.io/configuration/logging/index.html</guid>
      <description>Athens is designed to support a myriad of logging scenarios.&#xA;Standard The standard structured logger can be configured in plain or json formatting via LogFormat or ATHENS_LOG_FORMAT. Additionally, verbosity can be controlled by setting LogLevel or ATHENS_LOG_LEVEL. In order for the standard structured logger to work, CloudRuntime and ATHENS_CLOUD_RUNTIME should not be set to a valid value.&#xA;The logging is via Logrus, so the allowed values for logging config options are determined by that project.</description>
    </item>
  </channel>
</rss>