Skip to main content

Эта версия GitHub Enterprise Server будет прекращена 2023-12-20. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Настройка приложений

You can configure internal application settings for your GitHub Enterprise Server instance.

Adjusting image caching

You can choose the amount of time that your GitHub Enterprise Server instance caches avatars. When you increase the cache time, you increase the amount of time a user's avatar will take to load. Configuring the cache time with too low a value can overload your GitHub Enterprise Server instance work processes.

  1. From an administrative account on GitHub Enterprise Server, in the upper-right corner of any page, click .

  2. If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.

  3. In the " Site admin" sidebar, click Management Console.

  4. In the "Settings" sidebar, click Applications.

  5. Under "Avatar image cache time (seconds)", type the number of seconds that you would like your GitHub Enterprise Server instance to cache avatar images.

  6. Under the "Settings" sidebar, click Save settings.

    Note: Saving settings in the Management Console restarts system services, which could result in user-visible downtime.

  7. Wait for the configuration run to complete.

Enabling interactive maps

You can allow users to create interactive maps using GeoJSON or TopoJSON syntax. For more information, see "Creating diagrams."

To enable interactive maps on your GitHub Enterprise Server instance, you must enable the feature and provide a public authentication token for Azure. For more information, see Authentication with Azure Maps in the Microsoft Docs.

  1. From an administrative account on GitHub Enterprise Server, in the upper-right corner of any page, click .

  2. If you're not already on the "Site admin" page, in the upper-left corner, click Site admin.

  3. In the " Site admin" sidebar, click Management Console.

  4. In the "Settings" sidebar, click Privacy.

  5. To enable interactive maps, select "Enable GeoJSON rendering".

  6. To configure authentication, under "Azure Maps API Token", paste your token.

  7. Under the "Settings" sidebar, click Save settings.

    Note: Saving settings in the Management Console restarts system services, which could result in user-visible downtime.

  8. Wait for the configuration run to complete.