salt-common/sls/gentoo-mirrors/gentoo_mirror.nginx.conf.tpl
Antsiferov Grigory 9dafba9fb6 sls/gentoo-mirror: moved to common;
sls/rsyncd: moved to common;
sls/ssl: pki templates were moved to common;
2016-09-17 23:15:37 +03:00

16 lines
312 B
Smarty

server {
include listen;
{% if ssl %}
include listen_ssl;
ssl_certificate {{ ssl_cert_path }};
ssl_certificate_key {{ ssl_key_path }};
{% endif %}
server_name {{ server_name }};
include includes/errors.conf;
autoindex on;
gzip_static on;
root {{ document_root }};
}