Skip to content

Commit

Permalink
fix issue with nginx proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Jan 16, 2025
1 parent 61eab8b commit a950f6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ http {
rewrite ^/(dashboards/app/)?hh-extracted-files/([a-zA-Z0-9-\.]+)(.*)$ $filereq break;
proxy_pass https://$upstream;
proxy_ssl_verify off;
proxy_set_header Host $1;
proxy_set_header X-Malcolm-Forward "/hh-extracted-files/$1";
proxy_set_header Host $2;
proxy_set_header X-Malcolm-Forward "/hh-extracted-files/$2";
}

# Arkime -> Dashboards shortcut
Expand Down
4 changes: 2 additions & 2 deletions nginx/nginx_readonly.conf
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ http {
rewrite ^/(dashboards/app/)?hh-extracted-files/([a-zA-Z0-9-\.]+)(.*)$ $filereq break;
proxy_pass https://$upstream;
proxy_ssl_verify off;
proxy_set_header Host $1;
proxy_set_header X-Malcolm-Forward "/hh-extracted-files/$1";
proxy_set_header Host $2;
proxy_set_header X-Malcolm-Forward "/hh-extracted-files/$2";
}

# Dashboards -> Arkime shortcut
Expand Down

0 comments on commit a950f6c

Please sign in to comment.