+ sample configs for nginx-proxy lxc instance

+ site_name as general option for different lxc_host and site_name (personally used for vps deployment)
+ vps deploy script
+ node version manager install
+ php version setup vars moved into separate vars-file
+ ansible.cfg that helps to use local inventory and group_vars files
+ root account playbook
This commit is contained in:
2023-09-27 10:49:04 +03:00
parent 05c680826c
commit 9bb3348cce
23 changed files with 126 additions and 31 deletions

View File

@ -3,7 +3,7 @@ server {
server_name domain;
client_max_body_size 0;
location / {
proxy_pass http://lxc_host;
proxy_pass http://site_name;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;