I have react application (next js) run on localhost:7878. And I config nginx in location proxy_pass localhost:7878. And after that i view page source in my browser and open path file js. But can not find it.
What do i have to do?
Thankyou.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Sorry to see that your question hasn’t received an answer yet. Unfortunately, without more information, it is unlikely that an answer for this specific issue can be provided. For people still landing here via search, running a Next.js app in production is much like running any Node app. Check out this tutorial for all the details on getting a Node app running behind an Nginx reverse proxy:
you need to delete other location and put this conf you can see image https://i.imgur.com/uw8EIaW.png ip finder
location / {
proxy_set_header Host $host;
proxy_pass https://stats.uptimerobot.com;
}
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.