+ 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:
@ -2,7 +2,7 @@ server {
|
||||
listen 80;
|
||||
server_name domain;
|
||||
location / {
|
||||
proxy_pass http://lxc_host:8080;
|
||||
proxy_pass http://site_name:8080;
|
||||
access_log off;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -13,7 +13,7 @@ server {
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
location /api/eventSourceBus {
|
||||
proxy_pass http://lxc_host:8080;
|
||||
proxy_pass http://site_name:8080;
|
||||
access_log off;
|
||||
proxy_cache off;
|
||||
proxy_buffering off;
|
||||
|
Reference in New Issue
Block a user