Skip to content

Commit

Permalink
prefix data path with __ to prevent problems with service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Oct 22, 2018
1 parent 85702d2 commit 57cca47
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ data:
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/htpasswd/secret-nginx-htpasswd;
location /data/ {
location /__data/ {
index null;
root /;
alias /data/;
autoindex on;
}
Expand Down

0 comments on commit 57cca47

Please sign in to comment.