Skip to content

Commit c756866

Browse files
committed
Proxy cache settings
1 parent c3249a7 commit c756866

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nginx/conf/ghost.conf

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@ server {
1616
proxy_send_timeout 90;
1717
proxy_read_timeout 90;
1818
proxy_buffering off;
19-
19+
proxy_cache_valid 200 30m;
20+
proxy_cache_valid 404 1m;
21+
2022
client_max_body_size 10m;
2123
client_body_buffer_size 128k;
2224

25+
2326
proxy_pass http://ghost:2368;
2427
}
2528

0 commit comments

Comments
 (0)