5,231
questions
0
votes
0
answers
9
views
Next.js and PHP on Same Apache Server: Slow Loading with ProxyPass—How to Optimize?
I have deployed a Next.js application alongside a PHP application on the same Apache server. To route traffic to the Next.js app, I’m using ProxyPass. While everything is working, the Next.js ...
0
votes
1
answer
28
views
YARP How to set up a reverse proxy for another full web server in a sub path?
I have a Qliksense server from domain and I have its certificate (.pfx) and I want to make a reverse proxy to it with ASP.NET Core + YARP.
The issue is when I set the proxy prefix as /qlik for example
...
0
votes
0
answers
26
views
laravel octane reverse proxy apache
I’m having an issue with Laravel Octane. I’ve configured it with host 127.0.0.1 on port 8080 and set up a reverse proxy using Apache with the following additional configuration in the .htaccess file:
...
-1
votes
1
answer
59
views
Use of IIS as a reverse proxy with dynamic forwarding
Good afternoon,
I need a reverse proxy solution to forward API calls from a server to different clients. I wanted to use an IIS with ARR for this. The address of the target client is included in the ...
0
votes
0
answers
20
views
setup reverse proxy with docker? [closed]
i am trying to use this reverse proxy:
https://github.com/caprover/nginx-reverse-proxy/blob/master/README.md
so i did set it up like so:
docker run -p 1234:80 --env UPSTREAM_HTTP_ADDRESS='https://...
0
votes
0
answers
16
views
Socket.io implementation is working in local but gest timed out when hosted on Nginx
I'm running a Node.js application on a server that communicates via WebSockets using the Socket.IO library. The Node.js application listens on port 5000, and I am using NGINX as a reverse proxy to ...
0
votes
0
answers
19
views
Apache Proxy Pass and Rewrite [closed]
I have the url 1 like this https://servername.com:8080/abcd/a?b=XYZ on one apache instance
and another url 2 https://servername.com:8090/abcd/a?b=XYZ on another instance.
When user hits 8080...i want ...
1
vote
1
answer
39
views
How to prevent request forgery through reverse proxy?
I am currently working on a paid library and am responsible for implementing request filtering. The library restricts requests to only allow those with a valid license key used from a registered ...
0
votes
0
answers
28
views
Dynamically reverse-proxying websockify with node.js
I have many websockify backends to which I get the address to from redis, so node is necessary. the problem is that I can't get the Websocket connection to stay alive.
I am using express for the web ...
0
votes
2
answers
64
views
Traefik 3 returns "404 page not found" on mailpit 8025 port - cannot reverse proxy to specific container port
The problem is rather general but I have an example with mailpit: I cannot reverse proxy to a docker container app which uses a specific port.
I'm using Traefik and I set up these files:
Traefik/...
0
votes
0
answers
7
views
Nginx Reverse Proxy With External IP And Port [migrated]
I am using Nginx on Windows. I have a question: Is it possible to use an external IP and port for Reverse Proxy operations with this tool? If so, do I need to add the external IP and port to my ...
0
votes
0
answers
36
views
Reverse Proxy with ASP.NET Core MVC
I have a project using ASP.NET Core 8.0 MVC. In my project, I want to create a controller Home and an action Index. Users will send a URL, along with an external IP and port (for reverse proxy) to the ...
0
votes
1
answer
40
views
Reverse proxy in ASP.NET Core: how to return the HTTP status code from destination server?
I'm using ASP.NET Core and Flurl to write a reverse proxy that sends requests to one destination server, another server, or both, depending on how the reverse proxy is configured at runtime. I want ...
1
vote
0
answers
64
views
How to configure YARP reverse proxy in .NET Core 8 with external IP and port, and handle cookies/sessions in iframe?
I have a .NET Core 8 project and I want to use the YARP library to implement a reverse proxy operation. The goal is to tunnel a URL defined in the Index with an external IP and port for the proxy, and ...
0
votes
0
answers
10
views
How properly use JupterLab with Nginx?
I've installed Jupter Lab on a VPS which running fine. Now I want to use Nginx as a reverse proxy. On the Internet I found the following working location configuration:
location / {
proxy_pass ...
-1
votes
0
answers
18
views
How to fix network error caused by zerotier-one on linux server? [closed]
System details
RStudio Edition : <-- Server -->
RStudio Version : RStudio 2022.07.2+576 "Spotted Wakerobin" Release (e7373ef832b49b2a9b88162cfe7eac5f22c40b34, 2022-09-06) for Ubuntu ...
0
votes
0
answers
17
views
HAProxy redirect SMTP and IMAP based on domain
I have a reverse proxy setup on a virtual machine that redirects requests to other virtual machines depending on the domain.
For example, x.com (port 80) is redirected to VM 1 (http), and y.com (port ...
0
votes
1
answer
34
views
Redirecting problems with dockerized headless cms (directus) + reverse proxy (nginx) using paths/subfolders
I have a dockerized setup with two containers: nginx and backend (=directus). I want nginx to forward request for example.com/api/ to my backend container, which is almost working. The nginx config ...
0
votes
0
answers
14
views
Change request url using nginx proxy
I am using nginx to reverse proxy my frontend and backend. This is my nginx file:
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
...
0
votes
0
answers
27
views
405 Not Allowed Error on POST Request through Nginx in MERN Applicatio
I have a MERN application set up with Nginx as the reverse proxy. My containers are successfully running, and I can reach my API with GET requests through Nginx. However, when I try to make a POST ...
1
vote
2
answers
96
views
Nginx cache entry after header update
Nginx cache with proxy_cache_background_update on;
some api response that has Cache-Control=max-age=7, public, stale-while-revalidate=59. After a while upstream response changes header for the same ...
0
votes
1
answer
56
views
caddy running on a local docker is getting the local IP instead of WAN IP when loading checkip.amazonaws.com
Those couple of services give you your current WAN IP:
I Can Haz => http://icanhazip.com/
AWS => http://checkip.amazonaws.com/
Loading them on the browser gives you your WAN IP like this:
...
0
votes
1
answer
42
views
Redirect HTTP traffic to HTTPs on same port in Apache reverse proxy
I've got a reverse proxy operating on port 2000 using Apache.
It's listening to another web server on the same port which is broadcasting HTTP.
I can get the reverse proxy functioning fine, and HTTPS ...
0
votes
0
answers
26
views
Nginx with Docker - 404 Errors for Static Assets When Using a Subdirectory in the URL
I have an application running in a Docker container with Nginx configured to serve it under a subdirectory, e.g., /customer-portal/. The backend application is unaware of this prefix and expects to be ...
0
votes
1
answer
29
views
How can Sinatra be configured to run within a virtual sub-directory of a reverse proxy?
I have an app in Sinatra that accepts requests at the root and with a name using:
get '/'
'Root page'
end
get '/:name'
#Some code here
end
When hosting the application behind a reverse-proxy ...
-1
votes
1
answer
34
views
IIS Reverse Proxy For TCP Backend (None HTTP) [duplicate]
I have a backend TCP websocket which I need to run using port 443 so it will be served from the same domain which is hosted on IIS and which also run over port 443, searching online is proposing to ...
0
votes
0
answers
42
views
Apache Hop Web behind Reverse Proxy (Nginx)
Has anyone successfully gotten Apache Hop running using a web server as a reverse proxy (preferably Nginx)? I've hacked at it for a bit using a range of standard tricks and gleanings from various ...
0
votes
1
answer
39
views
Traefik serversTransport Not Taking Effect: TLS Verification Issues
I'm encountering issues with Traefik's serversTransport configuration. I'm trying to set up a reverse proxy that provides a client certificate to upstream services. However, despite insecureSkipVerify ...
0
votes
3
answers
40
views
What status code should be returned from load balancer/reverse proxy when hostname does not match any rules?
Let's say we have an AWS application load balancer that has 2 rules based on host headers and a default rule for when the previous 2 rules' conditions aren't met.
What is the most appropriate HTTP ...
0
votes
0
answers
17
views
Mirroring pkgs.tailscale.com with nginx fails, mirroring tailscale.com works
I am trying to mirror/reverse-proxy the package server pkgs.tailscale.com because that server is blocked at some locations.
For some reason I can easily mirror the regular tailscale.com website with ...
0
votes
0
answers
27
views
NextJS API with Cloudflare as reverse proxy
In NextJS i have created an API that writes data to my local SQLite db. In dev it works perfectly but on prod i get a 504 Gateway Timeout. My app is self hosted in a VM on a centos with pm2 and nginx. ...
0
votes
0
answers
21
views
Using nginx to reach vuejs/vite app on a different container
I have two repositories, one in PHP and another with Vue.js/Vite. Both repos are for the same app. I have one container for the Vue.js repo and another for the PHP repo. Both are working fine ...
2
votes
1
answer
37
views
How to Restrict Access to a Dockerized Node.js Backend While Allowing React Frontend to Communicate Internally?
I’m working on a web project with a React frontend and a Node.js backend, both running in Docker containers. I'm using Docker Compose to orchestrate the services. The Node.js backend serves XML data ...
1
vote
0
answers
63
views
Azure Shared Access Signature - Signature did not match using ingress nginx
I have problems connecting to azure.blob.storage using ingress as a proxy to have 1 entry point for my app. When I try to connect directly, everything works, while through ingress I get an error: ...
0
votes
0
answers
19
views
Getting 404 not found from Traefik
I'm setting up Traefik as a reverse proxy to a bunch of docker services. Here's how I run Traefik:
services:
traefik:
image: traefik:v3.0.4
container_name: traefik
command:
# Set ...
0
votes
0
answers
26
views
Docker push incorrectly resolves when pushing to a private Gitlab Repository
I am trying to setup a private repository using Gitlab container repositories, my Gitlab instance is currently setup on an LXC container with an NGINX reverse proxy routing git subdomain (as well as ...
0
votes
0
answers
25
views
Apache2 reverse proxy 503 error for Flask Application on Ubuntu 22.04
I am trying to deploy a Flask application on port 80 using Ubuntu22.04, Apache2 and Gunicorn. I am using unix .sock file created by gunicorn.
I have subsequently followed an online tutorial but with ...
0
votes
0
answers
80
views
Response headers not being set in Crow a C++ web framework
I am working on a reverse-proxy server, using the crow framework in C++. I want to set the headers that i get after fetching the original server but it does not work. I receive 9 headers from original ...
0
votes
0
answers
28
views
Problem in docker-compose: App's container cannot communicate with NGINX container
I'm new to docker so please don't judge me...
Basically I have a mono-repo with two applications:
A NestJS API, and a NextJS application
I'm setting up my development environment using docker, my ...
0
votes
0
answers
16
views
When submitting form, I get "Cannot Post /"
I am building a reverse proxy, in it, there is a form box. It is supposed to get user input, and check if it is:
a url;
a url without the https:// header, which it adds;
or plain text, which is ...
0
votes
0
answers
40
views
Jetty 12 and http-forwarded not exposing client ip in HttpServletRequest
I have enabled the http-forwarded module with a custom forwarded for header we're getting from our load balancer (LB). However, when I attempt to access the HttpServletRequest's request.getRemoteHost()...
0
votes
1
answer
43
views
Apache Reverse Proxy Mattermost (websocket)
I’m experiencing an issue with the proxy configuration for Mattermost.
My env.:
Server A - Web server, proxy, and internet gateway (running Apache2)
Server B - Mattermost server (IP: 192.168.100.15)
...
-1
votes
1
answer
30
views
Docker compose multiple Etherpad with apache frontal
I have a problem with a service built with a docker compose, I don't understand what's wrong.
I have a Debian server on which I want to host 3 instances of Etherpad, each with its own configuration. ...
0
votes
0
answers
37
views
Proxy local TCP connections using nginx
I need to proxy TCP connections from my local PC using nginx.
I want to open a TCP connection (via .NET client) to a specific address and port, let's call it backend.
I cannot directly access it and I ...
0
votes
0
answers
46
views
NextAuth does not redirect to Google Login in production
I have a NextJS application running on a windows server (node version 22.2.0) and I'm using NextAuth for Google Authentification for a limited number of accounts (external mode in google provider). ...
-2
votes
1
answer
38
views
How to Configure a Reverse Proxy for a Django Project on GoDaddy with Apache to Hide Port 8000
I have a Django project that I've uploaded to a GoDaddy server running Apache. I’m using a domain with the .com extension, and I've started the Django development server with the command python manage....
0
votes
1
answer
69
views
How do I handle a crash of a Golang (Gin) web server and recover with a new process?
I am in the process of writing a bunch of APIs. I am going to use Gin.
I will deploy behind a reverse proxy (I am forced to use Apache).
Like any process, I expect the Gin process to crash from time ...
1
vote
0
answers
94
views
How listen HTTPS and HTTP on same port depending on host with GO?
I'm writing a reverse proxy in go. I already have a basic setup working, but I want to be able to listen on a port and have it use TLS or not depending on the host. This is my current code:
var ...
1
vote
1
answer
69
views
Gitea redirection to login page does't work with Traefik reverse proxy
I use Traefik as a reverse proxy and gitea as a git server. I configure my gitea container as described here. It works fine, I can open gitea service with gitea path prefix, clone the repository, etc. ...
0
votes
1
answer
131
views
How to pass client ip address via Nginx reverse proxy to FastAPI
I am trying to pass the request client IP address to a FastAPI backend via Nginx.
Example FastAPI endpoint:
@app.post('/api/example')
def send_order(data: SomeDataType, request: Request, response: ...