Skip to content

Commit

Permalink
agagin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob-SA committed Nov 15, 2024
1 parent 9440f18 commit 7762e72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Frontend/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ server {
root /usr/share/nginx/html;
index index.html;

location / {
rewrite ^ /index.html;
location /* {
try_files $uri $uri/ /index.html;
}


location /api/ {
proxy_pass http://backend:8080; # Ensure this matches the service name and port in Docker Compose
proxy_set_header Host $host;
Expand Down

0 comments on commit 7762e72

Please sign in to comment.