We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug
When behind a reverse proxy like nginx, and redirection is set to a virtual directory, TH does not reply the good redirection (replies a HTTP 308).
set Nginx to redirect to a virtual directory:
location /thehive { proxy_pass http://127.0.0.1:9000/thehive; proxy_http_version 1.1; 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; }
Configure TheHive accordingly:
play.http.context="/thehive"
Screenshots of local PCAP on port 9000 (and 9001 for cortex as a comparison)
The text was updated successfully, but these errors were encountered:
#1370 Add http context to default page redirection
002e6de
To-om
No branches or pull requests
Request Type
Bug
Problem Description
When behind a reverse proxy like nginx, and redirection is set to a virtual directory, TH does not reply the good redirection (replies a HTTP 308).
Steps to Reproduce
set Nginx to redirect to a virtual directory:
Configure TheHive accordingly:
Complementary information
Screenshots of local PCAP on port 9000 (and 9001 for cortex as a comparison)
The text was updated successfully, but these errors were encountered: