Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker-image/scripts/init-firewall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ done
# Based on: https://support.1password.com/ports-domains/
echo "Configuring 1Password domains..."
# Common 1Password subdomains across all regions (.com, .eu, .ca)
onepassword_subdomains="1password my.1password app.1password api.1password events.1password b5n.1password"
onepassword_tlds="com eu ca"
onepassword_subdomains=("1password" "my.1password" "app.1password" "api.1password" "events.1password" "b5n.1password")
onepassword_tlds=("com" "eu" "ca")

for subdomain in $onepassword_subdomains; do
for tld in $onepassword_tlds; do
for subdomain in "${onepassword_subdomains[@]}"; do
for tld in "${onepassword_tlds[@]}"; do
domain="${subdomain}.${tld}"
echo "Resolving $domain..."
# Use timeout and don't fail if a regional domain doesn't exist
Expand Down