Skip to content

Commit

Permalink
Include proxy params in nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
micorix committed Dec 9, 2023
1 parent 1535183 commit 51fdb29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nginx-app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ server {

location ~ (^/api|^/admin) {
proxy_pass ${NGINX_BACK_URL};
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
include proxy_params;
}

location /static {
Expand Down

0 comments on commit 51fdb29

Please sign in to comment.