fixes
This commit is contained in:
@@ -60,7 +60,7 @@ description
|
|||||||
|
|
||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access the admin panel using the following URL:${CL}"
|
echo -e "${INFO}${YW} First, complete the database setup at:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/admin/${CL}"
|
|
||||||
echo -e "${INFO}${YW} Complete the database setup by visiting:${CL}"
|
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/admin/install.php${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/admin/install.php${CL}"
|
||||||
|
echo -e "${INFO}${YW} Admin credentials are in the install log:${CL}"
|
||||||
|
echo -e "${TAB}${GATEWAY}${BGN}grep -A2 'admin' /opt/yourls/user/config.php${CL}"
|
||||||
|
|||||||
@@ -60,9 +60,12 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.php\$ {
|
location ~ \.php\$ {
|
||||||
|
try_files \$uri =404;
|
||||||
|
fastcgi_split_path_info ^(.+\.php)(/.+)\$;
|
||||||
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
|
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
||||||
|
fastcgi_param PATH_INFO \$fastcgi_path_info;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,7 +88,3 @@ msg_ok "Configured Nginx"
|
|||||||
motd_ssh
|
motd_ssh
|
||||||
customize
|
customize
|
||||||
cleanup_lxc
|
cleanup_lxc
|
||||||
|
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}Admin URL:${CL} http://${LOCAL_IP}/admin/"
|
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}Username:${CL} admin"
|
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}Password:${CL} ${YOURLS_PASS}"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user