Skip to content

Commit 0e9de8f

Browse files
committed
Merge branch 'main' into backend_clickhouse
2 parents 5fa983f + df24823 commit 0e9de8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/nginx/default.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
server {
1+
server {
22
listen 8080;
33
server_name frontend;
44
gzip on;
@@ -9,7 +9,7 @@ server {
99
index index.html index.htm;
1010
try_files $uri /index.html;
1111
}
12-
location ~* /[^/]*\.(?:ico|css|js|gif|jpe?g|png|woff2)$ {
12+
location ~* ^(?!/api)/[^/]*\.(?:ico|css|js|gif|jpe?g|png|woff2)$ {
1313
root /var/www/html;
1414
try_files $uri =404;
1515
add_header Cache-Control "public, immutable, max-age=2592000";

0 commit comments

Comments
 (0)