docker-react 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +2 -2
- package/nginx.conf +4 -0
- package/package.json +1 -1
package/Dockerfile
CHANGED
package/nginx.conf
CHANGED
|
@@ -5,6 +5,10 @@ server {
|
|
|
5
5
|
root /usr/share/nginx/html;
|
|
6
6
|
index index.html;
|
|
7
7
|
|
|
8
|
+
location = /window.env.js {
|
|
9
|
+
add_header Cache-Control "no-store, no-cache, must-revalidate";
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
location / {
|
|
9
13
|
# First attempt to serve request as file, then
|
|
10
14
|
# as directory, then fall back to redirecting to index.html
|
package/package.json
CHANGED