Questions tagged [reverse-proxy]

An HTTP accelerator or load-balancer that typically serves as a reverse proxy server by forwarding requests from clients to multiple backend HTTP servers.

Troubleshooting: Nginx reverse proxy issue with Next.js API route

I am faced with an issue in my nextjs app running behind nginx using reverse proxy. I am encountering a 504 error (Gateway Time-out) when trying to process POST requests to /api/ It functions flawlessly when tested on a virtual machine within a local net ...

Using Drupal 8 with Nginx as a reverse proxy in a subdirectory configuration

Our web server is currently running Drupal 8 on nginx + php-fpm. We are looking to implement a reverse proxy server to make the D8 website accessible at www.somedomain.com/drupal8 The nginx configuration is functioning correctly: location /article_dev/ { ...

How can I redirect a remote image URL to a local folder during development?

Currently, I am pulling image URLs from a database that was dumped from the production server. An example of one of these URLs is https://example.com/imageStorage/photo.jpg. These URLs are then used to display images in HTML templates using the following f ...

The reverse proxy in nginx is having trouble accessing custom paths within the loopback network

Running my loopback app on the server and attempting to access it via an nginx reverse proxy has been a challenge. Unfortunately, I'm quite new to nginx and struggling to configure it correctly. Below is a snippet from my config file /etc/nginx/sites- ...

A guide on incorporating user information into http-proxy-middleware

I am currently trying to figure out how to include user data, or any data, in my requests to one of my services. However, despite the code I have written below, the data is not being added to the proxyRequest when it is sent to my service. Can anyone exp ...

Setting up reverse proxy rules for GitLab on a Node.js Express server can be achieved using the following

I am currently in the process of developing a Node.js application to serve a private GitLab server. Initially, I had it set up with Apache, but now I am looking to switch over to using my Node.js application instead. Most of the functionality is there. Th ...

Having trouble getting a React app integrated with WordPress on an NGINX server to function properly over HTTPS?

I am currently in the process of developing a React application that integrates with a WordPress site. The setup I am aiming for is as follows: When users visit example.com, they will be directed to my React app. If they navigate to example.com/blog, they ...

Utilizing Nginx as a reverse proxy for dual Node.js applications sharing the same domain

Despite multiple attempts, I am struggling to find a solution for my issue. Recently, I set up an Ubuntu server to host two nodejs applications. Both apps are under the same domain mydomain.com but on different ports. One app is built using keystonejs whi ...

Utilizing MERN Stack in a LAMP Droplet Environment on DigitalOcean

I'm currently working on a MERN application that is split into two main folders: 1. client folder : This contains the Front-End code (REACT app) 2. server folder : Here lies the API Code (Express, NodeJs) The issue I'm facing is with the front-end n ...

Strategies for hiding my true video streaming server in Node.js from viewers?

I'm currently developing a Video on Demand project in NodeJS that offers customers the option to purchase or subscribe to videos. These videos are hosted on a Streaming Server (similar to Red5) which includes features like interactive player, adaptive bit ...

What is the process for integrating a Next.js route into a PHP-powered website on an Nginx server?

I attempted to develop a PHP-powered website on my Ubuntu system alongside a Next.js website. Here is what I have tried: Let's say I have a PHP website located at mysite.com with 2 pages: mysite.com/ & mysite.com/about.php Simultaneously, I have a Ne ...