An ASP.NET Core solution that has the role of a CDN / CDN origin.
576
An image thought to be used as CDN / CDN origin / static content provider for your web-app.
Example: docker run --name cdn-origin -d -p 8000:80 -v some-path-with-static-files:/cdnroot codebeltnet/web-cdn-origin:1.2.0
You can also write an embedded version of this image; here is an example:
FROM codebeltnet/web-cdn-origin:1.2.0
WORKDIR /cdnroot
ADD cdnroot .
WORKDIR /app
This would run as: docker run --name cdn-origin -d -p 8000:80 yourAmazingImage:SomeTag
ENVIRONMENT VARIABLES
*) Enum values: Days, Hours, Minutes, Seconds, Milliseconds, Ticks
**) The root of the CDN-origin will search for a file with the name specified; if match, the file will be served as a default content.
Updated with support for response compression: https://docs.microsoft.com/en-us/aspnet/core/performance/response-compression?view=aspnetcore-5.0
Content type
Image
Digest
sha256:d53c894f8…
Size
51.5 MB
Last updated
3 days ago
docker pull codebeltnet/web-cdn-origin:2.0.0