Skip to content

Commit

Permalink
fix: nginx.conf change (erda-project#877) (erda-project#879)
Browse files Browse the repository at this point in the history
Co-authored-by: hujiahao-hjh <82502479+hujiahao-hjh@users.noreply.github.com>
  • Loading branch information
erda-bot and hujiahao-hjh committed Aug 6, 2021
1 parent 26f31a3 commit 7acea7d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nginx.conf.template
Expand Up @@ -163,6 +163,10 @@ server {
}
index index.html;
try_files /static/shell/index.html /index.html =404;
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 $my_scheme;
proxy_set_header Host $http_host;
}

location ^~ /wb {
Expand Down

0 comments on commit 7acea7d

Please sign in to comment.