@@ -310,8 +310,8 @@ server {
310
310
proxy_intercept_errors on;
311
311
#X-UI Admin Panel
312
312
location $RNDSTR {
313
- auth_basic "Restricted Access";
314
- auth_basic_user_file /etc/nginx/.htpasswd;
313
+ # auth_basic "Restricted Access";
314
+ # auth_basic_user_file /etc/nginx/.htpasswd;
315
315
proxy_redirect off;
316
316
proxy_set_header Host \$ host;
317
317
proxy_set_header X-Real-IP \$ remote_addr;
@@ -323,7 +323,6 @@ server {
323
323
location /${RNDSTR2} / {
324
324
#auth_basic "Restricted Access";
325
325
#auth_basic_user_file /etc/nginx/.htpasswd;
326
- #proxy_redirect off;
327
326
proxy_set_header Host \$ host;
328
327
proxy_set_header X-Real-IP \$ remote_addr;
329
328
proxy_set_header X-Forwarded-For \$ proxy_add_x_forwarded_for;
@@ -471,8 +470,8 @@ if systemctl is-active --quiet x-ui || [ -e /etc/systemd/system/x-ui.service ];
471
470
# [[ -n $IP6 ]] && [[ "$IP6" =~ $IP6_REGEX ]] && msg_inf "IPv6: http://[$IP6]:$PORT$RNDSTR"
472
471
msg_inf " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
473
472
sudo sh -c " echo -n '${XUIUSER} :' >> /etc/nginx/.htpasswd && openssl passwd -apr1 '${XUIPASS} ' >> /etc/nginx/.htpasswd"
474
- msg_inf " XrayUI <Double Login> https://${domain}${RNDSTR} "
475
- msg_inf " v2rayA <Double Login> https://${domain} /${RNDSTR2} /\n"
473
+ msg_inf " XrayUI: https://${domain}${RNDSTR} "
474
+ msg_inf " v2rayA: https://${domain} /${RNDSTR2} /\n"
476
475
echo -e " Username: $XUIUSER \nPassword: $XUIPASS \n"
477
476
msg_inf " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
478
477
msg_ok " Note: Save This Screen!!"
0 commit comments