diff --git a/README.md b/README.md index fe5c02d..2fa455e 100644 --- a/README.md +++ b/README.md @@ -50,4 +50,4 @@ digital-workspace-ingress: Bamboo branches: -* Alfresco Digital Workspace / [ACS Nginx Proxy](https://bamboo.alfresco.com/bamboo/browse/ADW-ANP) \ No newline at end of file +* Alfresco Digital Workspace / [ACS Nginx Proxy](https://bamboo.alfresco.com/bamboo/browse/PLAT-ACSING) \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index be1781f..77ce9b3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -24,7 +24,7 @@ http { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass_header Set-Cookie; - + # Protect access to SOLR APIs location ~ ^(/.*/service/api/solr/.*)$ {return 403;} location ~ ^(/.*/s/api/solr/.*)$ {return 403;} @@ -34,17 +34,10 @@ http { location ~ ^(/.*/proxy/alfresco/api/solr/.*)$ {return 403 ;} location ~ ^(/.*/-default-/proxy/alfresco/api/.*)$ {return 403;} - # Protect access to Prometheus endpoint - location ~ ^(/.*/s/prometheus)$ {return 403;} - location / { proxy_pass http://alfresco:8080; } - location /workspace/ { - proxy_pass http://digital-workspace:8080/; - } - location /alfresco/ { proxy_pass http://alfresco:8080; }