blob: e42c7c94f474066edb57847663f43696c1559d5e [file] [log] [blame]
{%- set site = salt['pillar.get']('nginx:server:site:'+site_name) %}
{%- from "aptly/map.jinja" import server with context %}
server {
{%- include "nginx/files/_name.conf" %}
{%- include "nginx/files/_ssl.conf" %}
{%- include "nginx/files/_log.conf" %}
root {{ server.root_dir }}/public;
location / {
autoindex on;
}
}