Removed mention of video from most of article
This commit is contained in:
@@ -12,13 +12,15 @@ topics:
|
||||
- Access management
|
||||
---
|
||||
|
||||
To host your images and videos, {% data variables.product.product_name %} uses the [open-source project Camo](https://github.com/atmos/camo). Camo generates an anonymous URL proxy for each file which hides your browser details and related information from other users. The URL starts `https://<subdomain>.githubusercontent.com/`, with different subdomains depending on how you uploaded the image or video.
|
||||
To host your images, {% data variables.product.product_name %} uses the [open-source project Camo](https://github.com/atmos/camo). Camo generates an anonymous URL proxy for each file which hides your browser details and related information from other users. The URL starts `https://<subdomain>.githubusercontent.com/`, with different subdomains depending on how you uploaded the image.
|
||||
|
||||
Videos also get anonymized URLs with the same format as image URLs, but are not processed through Camo. This is because {% data variables.product.prodname_dotcom %} only supports uploaded videos, and not externally hosted videos.
|
||||
|
||||
Anyone who receives your anonymized URL, directly or indirectly, may view your image or video. To keep sensitive media files private, restrict them to a private network or a server that requires authentication instead of using Camo.
|
||||
|
||||
### Troubleshooting issues with Camo
|
||||
|
||||
In rare circumstances, images and videos that are processed through Camo might not appear on {% data variables.product.prodname_dotcom %}. Here are some steps you can take to determine where the problem lies.
|
||||
In rare circumstances, images that are processed through Camo might not appear on {% data variables.product.prodname_dotcom %}. Here are some steps you can take to determine where the problem lies.
|
||||
|
||||
{% windows %}
|
||||
|
||||
@@ -30,12 +32,12 @@ Windows users will either need to use the Git Powershell (which is installed alo
|
||||
|
||||
{% endwindows %}
|
||||
|
||||
#### An image or video is not showing up
|
||||
#### An image is not showing up
|
||||
|
||||
If an image or video is showing up in your browser but not on {% data variables.product.prodname_dotcom %}, you can try requesting it locally.
|
||||
If an image is showing up in your browser but not on {% data variables.product.prodname_dotcom %}, you can try requesting it locally.
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. Request the image or video headers using `curl`.
|
||||
1. Request the image headers using `curl`.
|
||||
```shell
|
||||
$ curl -I https://www.my-server.com/images/some-image.png
|
||||
> HTTP/2 200
|
||||
@@ -49,16 +51,16 @@ If an image or video is showing up in your browser but not on {% data variables.
|
||||
4. Check that content type against [the list of types supported by Camo](https://github.com/atmos/camo/blob/master/mime-types.json).
|
||||
|
||||
If your content type is not supported by Camo, you can try several actions:
|
||||
* If you own the server that's hosting the image or video, modify it so that it returns a correct content type for images or videos.
|
||||
* If you're using an external service for hosting images or videos, contact support for that service.
|
||||
* If you own the server that's hosting the image, modify it so that it returns a correct content type for images.
|
||||
* If you're using an external service for hosting images, contact support for that service.
|
||||
* Make a pull request to Camo to add your content type to the list.
|
||||
|
||||
#### An image or video that changed recently is not updating
|
||||
#### An image that changed recently is not updating
|
||||
|
||||
If you changed an image or video recently and it's showing up in your browser but not {% data variables.product.prodname_dotcom %}, you can try resetting the cache of the image or video.
|
||||
If you changed an image recently and it's showing up in your browser but not {% data variables.product.prodname_dotcom %}, you can try resetting the cache of the image.
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. Request the image or video headers using `curl`.
|
||||
1. Request the image headers using `curl`.
|
||||
```shell
|
||||
$ curl -I https://www.my-server.com/images/some-image.png
|
||||
> HTTP/2 200
|
||||
@@ -69,27 +71,27 @@ If you changed an image or video recently and it's showing up in your browser bu
|
||||
```
|
||||
|
||||
Check the value of `Cache-Control`. In this example, there's no `Cache-Control`. In that case:
|
||||
* If you own the server that's hosting the image or video, modify it so that it returns a `Cache-Control` of `no-cache` for images or videos.
|
||||
* If you're using an external service for hosting images or videos, contact support for that service.
|
||||
* If you own the server that's hosting the image, modify it so that it returns a `Cache-Control` of `no-cache` for images.
|
||||
* If you're using an external service for hosting images, contact support for that service.
|
||||
|
||||
If `Cache-Control` *is* set to `no-cache`, contact {% data variables.contact.contact_support %} or search the {% data variables.contact.community_support_forum %}.
|
||||
|
||||
#### Removing an image or video from Camo's cache
|
||||
#### Removing an image from Camo's cache
|
||||
|
||||
Purging the cache forces every {% data variables.product.prodname_dotcom %} user to re-request the image or video, so you should use it very sparingly and only in the event that the above steps did not work.
|
||||
Purging the cache forces every {% data variables.product.prodname_dotcom %} user to re-request the image, so you should use it very sparingly and only in the event that the above steps did not work.
|
||||
|
||||
{% data reusables.command_line.open_the_multi_os_terminal %}
|
||||
2. Purge the image or video using `curl -X PURGE` on the Camo URL.
|
||||
1. Purge the image using `curl -X PURGE` on the Camo URL.
|
||||
```shell
|
||||
$ curl -X PURGE https://camo.githubusercontent.com/4d04abe0044d94fefcf9af2133223....
|
||||
> {"status": "ok", "id": "216-8675309-1008701"}
|
||||
```
|
||||
|
||||
#### Viewing images or videos on private networks
|
||||
#### Viewing images on private networks
|
||||
|
||||
If an image or video is being served from a private network or from a server that requires authentication, it can't be viewed by {% data variables.product.prodname_dotcom %}. In fact, it can't be viewed by any user without asking them to log into the server.
|
||||
If an image is being served from a private network or from a server that requires authentication, it can't be viewed by {% data variables.product.prodname_dotcom %}. In fact, it can't be viewed by any user without asking them to log into the server.
|
||||
|
||||
To fix this, please move the image or video to a service that is publicly available.
|
||||
To fix this, please move the image to a service that is publicly available.
|
||||
|
||||
### Further reading
|
||||
|
||||
|
||||
Reference in New Issue
Block a user