install_postfixadmin.sh: Don't provide users login.
This commit is contained in:
parent
de7e47eaee
commit
ae590e6dce
@ -1287,6 +1287,11 @@ if $_create_vhost_config ; then
|
|||||||
|
|
||||||
ServerName $WEBSITE_NAME
|
ServerName $WEBSITE_NAME
|
||||||
|
|
||||||
|
# Don't provide users login
|
||||||
|
#
|
||||||
|
RewriteEngine on
|
||||||
|
RewriteRule users(.*) https://%{SERVER_NAME} [R=301,L]
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
failed=true
|
failed=true
|
||||||
|
Loading…
Reference in New Issue
Block a user