Skip to content

Commit

Permalink
Rewrite /static/ path too
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Apr 22, 2023
1 parent ec16b00 commit 29ba7a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,12 @@ http {
include basicsettings.conf;
}

location = /static/ {
rewrite /static/ / break;
proxy_pass http://digitransit-site:8080;
include basicsettings.conf;
}

location / {
proxy_pass http://digitransit-site:8080;
include basicsettings.conf;
Expand Down

0 comments on commit 29ba7a9

Please sign in to comment.