Skip to content

Commit

Permalink
Update reality-ezpz.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rony432 authored Jan 14, 2024
1 parent 5248f0c commit 361ea2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reality-ezpz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ services:
engine:
image: ${image[${config[core]}]}
$([[ ${config[security]} == 'reality' ]] && echo "ports:" || true)
$([[ ${config[security]} == 'reality' && ${config[port]} -eq 443 ]] && echo '- 80:8080' || true)
$([[ ${config[security]} == 'reality' && ${config[port]} -eq 8443 ]] && echo '- 8080:8080' || true)
$([[ ${config[security]} == 'reality' ]] && echo "- ${config[port]}:8443" || true)
$([[ ${config[transport]} == 'tuic' || ${config[transport]} == 'hysteria2' ]] && echo "ports:" || true)
$([[ ${config[transport]} == 'tuic' || ${config[transport]} == 'hysteria2' ]] && echo "- ${config[port]}:8443/udp" || true)
Expand All @@ -715,7 +715,7 @@ echo "
haproxy:
image: ${image[haproxy]}
ports:
$([[ ${config[security]} == 'letsencrypt' || ${config[port]} -eq 443 ]] && echo '- 80:8080' || true)
$([[ ${config[security]} == 'letsencrypt' || ${config[port]} -eq 8443 ]] && echo '- 8080:8080' || true)
- ${config[port]}:8443
restart: always
volumes:
Expand Down

0 comments on commit 361ea2d

Please sign in to comment.