rename host_var
This commit is contained in:
parent
4bf2639cbc
commit
ff1ab69e84
52
host_vars/VMAS-BUILD
Normal file
52
host_vars/VMAS-BUILD
Normal file
@ -0,0 +1,52 @@
|
||||
ttrss_url_path: http://arch3/tt-rss/
|
||||
|
||||
gitea_http_domain: arch3
|
||||
gitea_root_url: http://arch3:3000
|
||||
|
||||
chainetv_repo_branch: dev
|
||||
|
||||
certbot_create_if_missing: false
|
||||
|
||||
nginx_vhosts:
|
||||
- listen: "80"
|
||||
server_name: "_"
|
||||
filename: "default.conf"
|
||||
state: "present"
|
||||
template: "{{ nginx_vhost_template }}"
|
||||
extra_parameters: |
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
location / {
|
||||
rewrite ^/.well-known/carddav /radicale/$remote_user/carddav/ redirect;
|
||||
rewrite ^/.well-known/caldav /radicale/$remote_user/caldav/ redirect;
|
||||
index index.php index.html index.htm ;
|
||||
default_type text/html;
|
||||
|
||||
|
||||
}
|
||||
location =/ {
|
||||
rewrite ^ /starter;
|
||||
}
|
||||
location /radicale/
|
||||
{
|
||||
# The trailing / is important!
|
||||
proxy_pass http://localhost:5232/; # The / is important!
|
||||
proxy_set_header X-Script-Name /radicale;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_pass_header Authorization;
|
||||
}
|
||||
|
||||
|
||||
location ~ \.php$ {
|
||||
# try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_read_timeout 800;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
}
|
||||
include /etc/nginx/conf.d/*.default;
|
||||
|
57
host_vars/VMAS-HOMOL
Normal file
57
host_vars/VMAS-HOMOL
Normal file
@ -0,0 +1,57 @@
|
||||
##ansible_python_interpreter: /usr/bin/python2
|
||||
##music_directory: '/mnt/diskstation/music'
|
||||
system_upgrade: true
|
||||
#ttrss_url_path: http://nas/tt-rss/
|
||||
#
|
||||
#system_upgrade: true
|
||||
#
|
||||
#gitea_http_domain: nas
|
||||
#gitea_root_url: http://nas:3000
|
||||
#
|
||||
#chainetv_repo_branch: master
|
||||
#
|
||||
#certbot_create_if_missing: false
|
||||
#
|
||||
#nginx_vhosts:
|
||||
# - listen: "80"
|
||||
# server_name: "_"
|
||||
# filename: "default.conf"
|
||||
# state: "present"
|
||||
# template: "{{ nginx_vhost_template }}"
|
||||
# extra_parameters: |
|
||||
# error_page 500 502 503 504 /50x.html;
|
||||
# location = /50x.html {
|
||||
# root /usr/share/nginx/html;
|
||||
# }
|
||||
# location / {
|
||||
# rewrite ^/.well-known/carddav /radicale/$remote_user/carddav/ redirect;
|
||||
# rewrite ^/.well-known/caldav /radicale/$remote_user/caldav/ redirect;
|
||||
# index index.php index.html index.htm ;
|
||||
# default_type text/html;
|
||||
#
|
||||
#
|
||||
# }
|
||||
# location =/ {
|
||||
# rewrite ^ /starter;
|
||||
# }
|
||||
# location /radicale/
|
||||
# {
|
||||
# # The trailing / is important!
|
||||
# proxy_pass http://localhost:5232/; # The / is important!
|
||||
# proxy_set_header X-Script-Name /radicale;
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# proxy_pass_header Authorization;
|
||||
# }
|
||||
#
|
||||
#
|
||||
# location ~ \.php$ {
|
||||
# # try_files $uri =404;
|
||||
# fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
# fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
||||
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
# fastcgi_read_timeout 800;
|
||||
# fastcgi_index index.php;
|
||||
# include fastcgi_params;
|
||||
# }
|
||||
# include /etc/nginx/conf.d/*.default;
|
||||
#
|
Loading…
Reference in New Issue
Block a user