mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Config: Add options for HTTP cache control #3297
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -60,6 +60,8 @@ func startAction(ctx *cli.Context) error {
|
||||
{"detach-server", fmt.Sprintf("%t", conf.DetachServer())},
|
||||
{"http-mode", conf.HttpMode()},
|
||||
{"http-compression", conf.HttpCompression()},
|
||||
{"http-cache-ttl", fmt.Sprintf("%d", conf.HttpCacheTTL())},
|
||||
{"http-cache-public", fmt.Sprintf("%t", conf.HttpCachePublic())},
|
||||
{"http-host", conf.HttpHost()},
|
||||
{"http-port", fmt.Sprintf("%d", conf.HttpPort())},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user