diff --git a/nginx/production.conf b/nginx/production.conf index 2c74fa62..fd4beb58 100644 --- a/nginx/production.conf +++ b/nginx/production.conf @@ -75,4 +75,10 @@ server { proxy_pass http://innerreact; proxy_redirect default; } + + location /assets/ { + proxy_pass http://innerreact/assets/; + expires 1y; + add_header Cache-Control "public, max-age=31536000, immutable"; + } } \ No newline at end of file diff --git a/rsconcept/frontend/index.html b/rsconcept/frontend/index.html index 8ee23df4..c00a7576 100644 --- a/rsconcept/frontend/index.html +++ b/rsconcept/frontend/index.html @@ -12,6 +12,10 @@ + + + +