forked from web/portal
remove password protection
This commit is contained in:
@@ -6,10 +6,8 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true
|
||||
|
||||
rm -rf public
|
||||
hugo
|
||||
rsync -v --archive --delete --exclude /.htpasswd public/ \
|
||||
rsync -v --archive --delete public/ \
|
||||
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.org/htdocs-ssl/
|
||||
rsync -v --archive public/.htpasswd \
|
||||
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.org/
|
||||
|
||||
echo
|
||||
echo Finished. See results at https://my.ecogood.org
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
# authentication
|
||||
AuthType Basic
|
||||
AuthName "Geschuetzter Bereich. Zugangsdaten koennen beim AK-IT unbuerokratish angefordert werden."
|
||||
AuthUserFile /home/pacs/ecg00/users/portal/doms/my.ecogood.org/.htpasswd
|
||||
Require valid-user
|
||||
|
||||
# CSP Starter Policy: allows images, scripts, AJAX, and CSS from the same origin, and does not allow any other resources to load (eg object, frame, media, etc).
|
||||
Header set Content-Security-Policy "default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';"
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
ecogood:GZW/io0Bep3lk
|
||||
Reference in New Issue
Block a user