Remove location block from listing.conf
This commit is contained in:
parent
4c41b64426
commit
54120314b8
6 changed files with 27 additions and 26 deletions
|
@ -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 %};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue