0% found this document useful (0 votes)
3 views3 pages

pkl#2 - Deploy Reactjs Ke Nginx Web Server

This document outlines the steps to deploy a React.js application on an Nginx web server for the first time. Key steps include installing Nginx, creating a React project, configuring the homepage in package.json, building the project, and setting up routing in Nginx. Additional resources for further guidance are provided at the end.

Uploaded by

bayurara555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

pkl#2 - Deploy Reactjs Ke Nginx Web Server

This document outlines the steps to deploy a React.js application on an Nginx web server for the first time. Key steps include installing Nginx, creating a React project, configuring the homepage in package.json, building the project, and setting up routing in Nginx. Additional resources for further guidance are provided at the end.

Uploaded by

bayurara555
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Deploy React js Ke web server nginx (First Time)

1. Install nginx

2. Create Project React js

3. Add Properti homepage di package.json React


"homepage": "/project1tes",

4. Run : Npm Run Build

5. Run to deploy file build in nginx

6. Open file konfigurasi Routing in wsl

7. Konfigurasi Routing Aplikasi React Js In NGINX and Save file.


8. Restart nginx

9. Open In browser
Source

Tutorial Deploy React-App menggunakan Nginx : https://www.youtube.com/watch?


v=8JMTNcn6meI&t=11s&ab_channel=EdiMurwanto

How To Deploy a React Application with Nginx on Ubuntu :


https://www.digitalocean.com/community/tutorials/deploy-react-application-with-nginx-
on-ubuntu

You might also like