mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Fix IPv6 error
fix an error where upstream site is not found while trying to connect with both IPv4 and IPv6. Setting `localhost` to `127.0.0.1` fixes it.
This commit is contained in:
6
docker/nginx/dist/conf/tpotweb.conf
vendored
6
docker/nginx/dist/conf/tpotweb.conf
vendored
@ -90,19 +90,19 @@ server {
|
|||||||
|
|
||||||
### Kibana
|
### Kibana
|
||||||
location /kibana/ {
|
location /kibana/ {
|
||||||
proxy_pass http://localhost:64296;
|
proxy_pass http://127.0.0.1:64296;
|
||||||
rewrite /kibana/(.*)$ /$1 break;
|
rewrite /kibana/(.*)$ /$1 break;
|
||||||
}
|
}
|
||||||
|
|
||||||
### ES
|
### ES
|
||||||
location /es/ {
|
location /es/ {
|
||||||
proxy_pass http://localhost:64298/;
|
proxy_pass http://127.0.0.1:64298/;
|
||||||
rewrite /es/(.*)$ /$1 break;
|
rewrite /es/(.*)$ /$1 break;
|
||||||
}
|
}
|
||||||
|
|
||||||
### head standalone
|
### head standalone
|
||||||
location /myhead/ {
|
location /myhead/ {
|
||||||
proxy_pass http://localhost:64302/;
|
proxy_pass http://127.0.0.1:64302/;
|
||||||
rewrite /myhead/(.*)$ /$1 break;
|
rewrite /myhead/(.*)$ /$1 break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user