Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
kycfeel committed May 12, 2022
1 parent ed366c7 commit 3c4f3db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/local/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ server {
}

location / {

proxy_pass http://api; #Root path
}

Expand All @@ -60,6 +61,8 @@ server {
limit_req_log_level info;
limit_req_status 429;

rewrite /api/v2(/|$)(.*) /v2/$2 break;

proxy_pass http://api;
}

Expand Down

0 comments on commit 3c4f3db

Please sign in to comment.