gsaurabh2012 / webapp

test
0 stars 2 forks source link

new changes #5

Open Siddhesh9022 opened 1 month ago

Siddhesh9022 commented 1 month ago

Explanation of the Script: System Update: Updates the package list and upgrades installed packages to the latest versions. Install Utilities: Installs zip and unzip using apt. Install NGINX: Installs the Nginx web server package. Remove Sample Pages: Removes the default sample pages from /var/www/html. Clone Login App: Clones the GitHub repository into the Nginx document root /var/www/html. Set Permissions: Adjusts permissions for Nginx to serve the files correctly. Restart NGINX: Restarts the Nginx service to apply the changes. Verify App Loading: Uses curl to check if the app is successfully served by Nginx (checks for an HTTP 200 response).