Skip to content

Commit

Permalink
Merge pull request #65 from HSLdevcom/acl-dev
Browse files Browse the repository at this point in the history
added dev IP range for ACL
  • Loading branch information
vesameskanen authored Aug 7, 2018
2 parents 6ed2dd8 + 63ff2a3 commit c627adc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions external.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
location /out/helsinki-fi.smoove.pro/ {
proxy_pass http://helsinki-fi.smoove.pro/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -16,6 +17,7 @@ location /out/helsinki-fi.smoove.pro/ {
location /out/data.foli.fi/ {
proxy_pass http://data.foli.fi/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -30,6 +32,7 @@ location /out/data.foli.fi/ {
location /out/p.hsl.fi/ {
proxy_pass https://p.hsl.fi/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -44,6 +47,7 @@ location /out/p.hsl.fi/ {
location /out/92.62.36.215/ {
proxy_pass http://92.62.36.215/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -58,6 +62,7 @@ location /out/92.62.36.215/ {
location /out/beta.liikennevirasto.fi/ {
proxy_pass https://beta.liikennevirasto.fi/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -72,6 +77,7 @@ location /out/beta.liikennevirasto.fi/ {
location /out/vilkku.mattersoft.fi/ {
proxy_pass https://vilkku.mattersoft.fi/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -87,6 +93,7 @@ location /out/vilkku.mattersoft.fi/ {
location /out/jojo.mattersoft.fi/ {
proxy_pass https://jojo.mattersoft.fi/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -102,6 +109,7 @@ location /out/jojo.mattersoft.fi/ {
location /out/lappeenranta.mattersoft.fi/ {
proxy_pass https://lappeenranta.mattersoft.fi/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -117,6 +125,7 @@ location /out/lappeenranta.mattersoft.fi/ {
location /out/linkki.mattersoft.fi/ {
proxy_pass https://linkki.mattersoft.fi/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand All @@ -132,6 +141,7 @@ location /out/linkki.mattersoft.fi/ {
location /out/pilottilissu.tampere.fi/ {
proxy_pass https://pilottilissu.tampere.fi/;
allow 172.17.0.0/16;
allow 172.16.0.0/16;
allow 10.32.0.0/16;
deny all;
proxy_cache ext_cache;
Expand Down

0 comments on commit c627adc

Please sign in to comment.