Skip to content
Snippets Groups Projects

feat: add uexporter

Merged Pelayo García requested to merge add-uexporter into master
Files
3
@@ -27,6 +27,7 @@ odoo_role_list_db: true
# Nginx configuration
nginx_configs:
upstream:
- upstream uexporter { server 127.0.0.1:9839; }
- |
map $http_host $odoo_dbfilter {
'distribucio.agranel.coop' distribucio;
@@ -88,6 +89,14 @@ 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;
Loading