Skip to content

Commit

Permalink
Getting Started: Update content delivery config options
Browse files Browse the repository at this point in the history
  • Loading branch information
lastzero committed Oct 26, 2023
1 parent 4bf6734 commit c04b328
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/config-files/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/config-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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* |
Expand Down
3 changes: 2 additions & 1 deletion docs/getting-started/using-a-cdn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c04b328

Please sign in to comment.