Skip to content

Commit

Permalink
Protect access to Alfresco SOLR API
Browse files Browse the repository at this point in the history
Also for Share Proxy
  • Loading branch information
angelborroy-ks committed Sep 14, 2018
1 parent e803b71 commit 99ac978
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion volumes/config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ server {
location ~ ^(/.*/service/api/solr/.*)$ {return 403;}
location ~ ^(/.*/s/api/solr/.*)$ {return 403;}
location ~ ^(/.*/wcservice/api/solr/.*)$ {return 403;}
location ~ ^(/.*/wcs/api/solr/.*)$ {return 403;}
location ~ ^(/.*/wcs/api/solr/.*)$ {return 403;}

location ~ ^(/.*/proxy/alfresco/api/solr/.*)$ {return 403 ;}
location ~ ^(/.*/-default-/proxy/alfresco/api/.*)$ {return 403;}

# Alfresco Content Application
location / {
Expand Down

0 comments on commit 99ac978

Please sign in to comment.