We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292da6c commit df24823Copy full SHA for df24823
frontend/nginx/default.conf
@@ -1,4 +1,4 @@
1
-server {
+server {
2
listen 8080;
3
server_name frontend;
4
gzip on;
@@ -9,7 +9,7 @@ server {
9
index index.html index.htm;
10
try_files $uri /index.html;
11
}
12
- location ~* /[^/]*\.(?:ico|css|js|gif|jpe?g|png|woff2)$ {
+ location ~* ^(?!/api)/[^/]*\.(?:ico|css|js|gif|jpe?g|png|woff2)$ {
13
root /var/www/html;
14
try_files $uri =404;
15
add_header Cache-Control "public, immutable, max-age=2592000";
0 commit comments