Skip to content

Commit

Permalink
Add config for path /auth/github/callback
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkhanh-axonivy committed Jul 22, 2024
1 parent e3314fd commit 8ce1471
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions marketplace-build/config/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,13 @@ http {
root /usr/share/nginx/html;

index index.html;

location /auth/github/callback {
proxy_pass http://10.193.8.78:4200; # Change this to the actual address of your Angular app
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}

0 comments on commit 8ce1471

Please sign in to comment.