mirror of
https://github.com/docker-training/node-bulletin-board.git
synced 2025-12-15 15:26:43 +08:00
V4 demo
This commit is contained in:
@@ -25,7 +25,6 @@ http {
|
||||
map $sent_http_content_type $expires {
|
||||
default off;
|
||||
text/css 1M;
|
||||
text/javascript 1M;
|
||||
application/javascript 1M;
|
||||
application/x-font-woff 3M;
|
||||
~image/ 6M;
|
||||
@@ -41,6 +40,7 @@ http {
|
||||
proxy_pass http://bb-app:8080/;
|
||||
proxy_cache STATIC;
|
||||
proxy_cache_valid 200 5s;
|
||||
proxy_ignore_headers Expires Cache-Control;
|
||||
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user