Skip to content
Snippets Groups Projects
Commit 5d040239 authored by Pelayo García's avatar Pelayo García
Browse files

feat: add uexporter

parent 20572905
Branches add-uexporter
No related tags found
1 merge request!17feat: add uexporter
Pipeline #29111 passed with stage
in 18 seconds
......@@ -130,6 +130,7 @@ odoo_role_limit_time_real: 2400
# Nginx configuration
nginx_configs:
upstream:
- upstream uexporter { server 127.0.0.1:9839; }
- upstream odoo { server 127.0.0.1:8069; }
- upstream nexporter { server 127.0.0.1:9100; }
- upstream pexporter { server 127.0.0.1:9187; }
......@@ -184,5 +185,13 @@ nginx_sites:
auth_basic "closed site";
auth_basic_user_file /etc/nginx/.bexporter.htpasswd;
}
location /uexporter/ {
include proxy_params;
proxy_redirect off;
proxy_pass http://uexporter/;
auth_basic "closed site";
auth_basic_user_file /etc/nginx/.uexporter.htpasswd;
}
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;
......@@ -87,6 +87,7 @@ backups_role_b2_app_key: !vault |
39386566396465356336633431613962636333303037323038396333343365643661
basic_auth_users:
- { 'path': '/etc/nginx/.uexporter.htpasswd', 'name': 'uexporter', 'password': '{{ basic_auth_user_uexporter_password }}' }
- { 'path': '/etc/odoo/.htpasswd', 'name': odoo, 'password': '{{ basic_auth_api_password }}' }
- { 'path': '/etc/nginx/.pexporter.htpasswd', 'name': 'pexporter', 'password': '{{ basic_auth_user_pexporter_password }}' }
- { 'path': '/etc/nginx/.bexporter.htpasswd', 'name': 'bexporter', 'password': '{{ basic_auth_user_bexporter_password }}' }
......
basic_auth_user_uexporter_password: "{{ basic_auth_user_nexporter_password }}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment