diff --git a/.gitignore b/.gitignore index f813275..134aeb2 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,5 @@ yarn-error.log .pnp.js # Yarn Integrity file .yarn-integrity + +.idea \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index a936d18..d747f17 100644 --- a/nginx.conf +++ b/nginx.conf @@ -42,7 +42,6 @@ http { # Javascript and CSS files location ~* \.(?:css|webmanifest|js|woff2|manifest)$ { - try_files $uri =404; expires 1y; access_log off; add_header Cache-Control "public"; @@ -53,10 +52,5 @@ http { # as directory, then fall back to redirecting to index.html try_files $uri $uri/ =404; } - - # Any route containing a file extension (e.g. /devicesfile.js) - location ~ ^.+\..+$ { - try_files $uri =404; - } } } \ No newline at end of file