diff --git a/docs/getting-started/config-files/index.md b/docs/getting-started/config-files/index.md index 5cf0e88f23..44d1e0a06e 100644 --- a/docs/getting-started/config-files/index.md +++ b/docs/getting-started/config-files/index.md @@ -151,9 +151,9 @@ Default values, including the *config* path to use, may optionally be specified | TLSKey | string | --tls-key | | HttpMode | string | --http-mode | | HttpCompression | string | --http-compression | +| HttpCachePublic | bool | --http-cache-public | | HttpCacheMaxAge | int | --http-cache-maxage | | HttpVideoMaxAge | int | --http-video-maxage | -| HttpCachePublic | bool | --http-cache-public | | HttpHost | string | --http-host | | HttpPort | int | --http-port | diff --git a/docs/getting-started/config-options.md b/docs/getting-started/config-options.md index 3f9c8536d0..0e70c1f66a 100644 --- a/docs/getting-started/config-options.md +++ b/docs/getting-started/config-options.md @@ -144,9 +144,9 @@ | PHOTOPRISM_HTTP_XSS_PROTECTION | --http-xss-protection | 1; mode=block | HTTP X-XSS-Protection `HEADER` *plus* | | PHOTOPRISM_HTTP_MODE | --http-mode | | Web server `MODE` (debug, release, test) | | PHOTOPRISM_HTTP_COMPRESSION | --http-compression | | Web server compression `METHOD` (gzip, none) | +| PHOTOPRISM_HTTP_CACHE_PUBLIC | --http-cache-public | | allow static content to be cached by a CDN or caching proxy | | PHOTOPRISM_HTTP_CACHE_MAXAGE | --http-cache-maxage | 2592000 | time in `SECONDS` until cached content expires | | PHOTOPRISM_HTTP_VIDEO_MAXAGE | --http-video-maxage | 21600 | time in `SECONDS` until cached videos expire | -| PHOTOPRISM_HTTP_CACHE_PUBLIC | --http-cache-public | | allow static content to be cached by a CDN or caching proxy | | PHOTOPRISM_HTTP_HOST | --http-host | 0.0.0.0 | Web server `IP` address or Unix domain socket, e.g. unix:/var/run/photoprism.sock | | PHOTOPRISM_HTTP_PORT | --http-port | 2342 | Web server port `NUMBER`, ignored for Unix domain sockets | | PHOTOPRISM_HTTP_HOSTNAME | --http-hostname | | serve requests for this `HOSTNAME` only *plus* | diff --git a/docs/getting-started/using-a-cdn.md b/docs/getting-started/using-a-cdn.md index 92f5cc59be..37d1c65467 100644 --- a/docs/getting-started/using-a-cdn.md +++ b/docs/getting-started/using-a-cdn.md @@ -21,8 +21,9 @@ You can use the following config options to specify the URL of an external CDN a | PHOTOPRISM_CDN_URL | --cdn-url | | content delivery network `URL` | | PHOTOPRISM_CDN_VIDEO | --cdn-video | false | stream videos over the specified CDN | | PHOTOPRISM_HTTP_CSP | --http-csp | | HTTP Content-Security-Policy (CSP) `HEADER` *plus* | -| PHOTOPRISM_HTTP_CACHE_MAXAGE | --http-cache-maxage | 2592000 | time in `SECONDS` until cached content expires | | PHOTOPRISM_HTTP_CACHE_PUBLIC | --http-cache-public | true | allow static content to be cached by a CDN or caching proxy | +| PHOTOPRISM_HTTP_CACHE_MAXAGE | --http-cache-maxage | 2592000 | time in `SECONDS` until cached content expires | +| PHOTOPRISM_HTTP_VIDEO_MAXAGE | --http-video-maxage | 21600 | time in `SECONDS` until cached videos expire | ## CDN Providers