5b1879aa09
- Make it less mixed. Each task file deploys one feature. - Deploy Metallb - Deploy Openstack provider network gateway Change-Id: I41f0353b286f817cb562b3bd59992e4baa473568
26 lines
710 B
Plaintext
26 lines
710 B
Plaintext
user nginx;
|
|
worker_processes auto;
|
|
|
|
error_log /dev/stdout warn;
|
|
pid /var/run/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
stream {
|
|
access_log off;
|
|
|
|
server {
|
|
listen {{ openstack_provider_gateway_cidr | ipaddr('address') }}:80;
|
|
proxy_pass {{ metallb_openstack_endpoint_cidr | ipaddr('address') }}:80;
|
|
proxy_bind {{ openstack_provider_gateway_cidr | ipaddr('address') }} transparent;
|
|
}
|
|
|
|
server {
|
|
listen {{ openstack_provider_gateway_cidr | ipaddr('address') }}:443;
|
|
proxy_pass {{ metallb_openstack_endpoint_cidr | ipaddr('address') }}:443;
|
|
proxy_bind {{ openstack_provider_gateway_cidr | ipaddr('address') }} transparent;
|
|
}
|
|
}
|