diff --git a/doc/vhost.md b/doc/vhost.md index 086eb5e..c0091f8 100644 --- a/doc/vhost.md +++ b/doc/vhost.md @@ -10,6 +10,7 @@ Common - `name`: (M) Domain or list of domain used. - `template`: (D) template used to create vhost. Optional if you set `delete` to true or using `redirect_tor`. +- `filename`: (O) Specify filename in /etc/nginx/sites-*. Do NOT specify default (reserved keyword). - `enable`: (O) Enable the vhost (default is true) - `delete`: (O) Delete the vhost (default is false) - `redirect_from`: (O) Domain list to redirect to the first `name`. You can use this key to redirect non-www to www diff --git a/tests/test.yml b/tests/test.yml index a3a98c0..24439f2 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -119,6 +119,7 @@ - 'test-alias.local' - 'test2-alias.local' template: '_base' + filename : 'first-test' override_try_files: '$uri $uri index.htm index.html' manage_local_content: false more: