salt-common/sls/gentoo-mirrors/gentoo_mirror.nginx.conf.tpl

16 lines
312 B
Smarty
Raw Normal View History

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 }};
}