Skip to content

Commit

Permalink
Update nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed Dec 20, 2023
1 parent 4d21258 commit d3988c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions helm/osmcha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ app:
try_files $uri;
}
location / {
root /assets;
# checks for static file, if not found proxy to app
try_files $uri $uri/;
}
location /api {
try_files $uri $uri/ @django;
}
Expand All @@ -110,5 +104,11 @@ app:
proxy_redirect off;
proxy_pass http://app;
}
location / {
root /assets;
# checks for static file, if not found proxy to app
try_files $uri $uri/;
}
}
}

0 comments on commit d3988c5

Please sign in to comment.