ba1d9e9d4b
The directory for the tftp server defined consistently between ironic and inspector, but not for the http directory. This patch makes the definition of the http directory work the same way as the tftp one. Change-Id: I8d893faa31e5858c4923cb12ef453ec9397db5df
18 lines
367 B
Django/Jinja
18 lines
367 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
server {
|
|
listen 0.0.0.0:{{ ironic_ipxe_port }};
|
|
server_name ironic-ipxe;
|
|
|
|
# Logging
|
|
access_log /var/log/nginx/ironic-ipxe.access.log combined gzip buffer=32k;
|
|
error_log /var/log/nginx/ironix-ipxe.error.log notice;
|
|
|
|
# directory to store ipxe
|
|
location / {
|
|
root {{ ironic_http_root }};
|
|
autoindex off;
|
|
expires 1h;
|
|
}
|
|
}
|