Remove location block from listing.conf

This commit is contained in:
Alexander Dietrich 2017-02-18 14:57:09 +01:00
commit 54120314b8
6 changed files with 27 additions and 26 deletions

View file

@ -4,10 +4,12 @@ server {
include /etc/nginx/include/no_dotfiles.conf;
include /etc/nginx/include/no_symlinks.conf;
{% if listing %}
{% if listing %}
location / {
include /etc/nginx/include/listing.conf;
{% endif %}
}
{% endif %}
listen {{port.number}}{% if port.ssl %} ssl{% endif %};
listen [::]:{{port.number}}{% if port.ssl %} ssl{% endif %};