mirror of
https://github.com/docker-training/node-bulletin-board.git
synced 2025-12-15 07:16:43 +08:00
Add metrics for P5
This commit is contained in:
@@ -24,6 +24,10 @@ http {
|
||||
|
||||
map $sent_http_content_type $expires {
|
||||
default off;
|
||||
text/css 1M;
|
||||
text/javascript 1M;
|
||||
application/javascript 1M;
|
||||
application/x-font-woff £M;
|
||||
~image/ 6M;
|
||||
}
|
||||
|
||||
@@ -36,7 +40,7 @@ http {
|
||||
location / {
|
||||
proxy_pass http://bb-app:8080/;
|
||||
proxy_cache STATIC;
|
||||
proxy_cache_valid 200 1h;
|
||||
proxy_cache_valid 200 5s;
|
||||
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user