WIP Remove nginx unix sockets (#4531)
* Remove nginx unix sockets * Use an emptyDir volume for /tmp in PSP e2e tests
This commit is contained in:
parent
76e2a5d731
commit
ce3e3d51c3
6 changed files with 32 additions and 28 deletions
|
|
@ -50,10 +50,8 @@ var HealthCheckTimeout = 10 * time.Second
|
|||
// http://nginx.org/en/docs/http/ngx_http_stub_status_module.html
|
||||
var StatusPath = "/nginx_status"
|
||||
|
||||
// StreamSocket defines the location of the unix socket used by NGINX for the NGINX stream configuration socket
|
||||
var StreamSocket = "/tmp/ingress-stream.sock"
|
||||
|
||||
var statusLocation = "nginx-status"
|
||||
// StreamPort defines the port used by NGINX for the NGINX stream configuration socket
|
||||
var StreamPort = 10257
|
||||
|
||||
// NewGetStatusRequest creates a new GET request to the internal NGINX status server
|
||||
func NewGetStatusRequest(path string) (int, []byte, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue