vhost options
This commit is contained in:
parent
19f6fdab58
commit
5ac39bbcc8
@ -10,7 +10,6 @@ services:
|
||||
- /home/{{ user.name }}/nginx/vhost.d:/etc/nginx/vhost.d
|
||||
environment:
|
||||
- VIRTUAL_HOST="{{ inventory_hostname | default('ansible_undefined_host') }}"
|
||||
- VIRTUAL_ROOT="/var/www/html"
|
||||
- NEXTCLOUD_ADMIN_USER="admin"
|
||||
- POSTGRES_DATABASE=nextcloud
|
||||
- POSTGRES_HOST=db:5432
|
||||
|
||||
2
templates/nextcloud.vhost.conf.j2
Normal file
2
templates/nextcloud.vhost.conf.j2
Normal file
@ -0,0 +1,2 @@
|
||||
root /var/www/html;
|
||||
index index.php;
|
||||
Loading…
Reference in New Issue
Block a user