Category "nginx"

Nginx downloads php files

I read about this problem and tried many fixes, but none has worked. I use Ubuntu 22.04 and PHP 8.1. My Nginx config file is now ## # You should look at the fol

How to configure the Nginx for Single Page Application?

I used the React as the frontend and the routes are listed below: /a /a/1 /b And used the Nginx to establish the reverse proxy, but I have to add a prefix rout

React Router Removes server prefix (Reverse Proxy)

I am trying to run a React Application behind a reverse proxy server that has a prefix(say root-prefix) and secondary prefix(say subdirectory/path). The final U

Nginx Kubernetes Ingress returns 502

I am trying to deploy simple REST API app in Kubernetes cluster in AWS EKS. Everything else is reverse proxying just fine. I use following config for deployment

NGINX environment-based routing

I have a single application running in multiple K8s clusters; Let's say there is a frontend service, and two backend ones. I use NGINX proxy the requests from t

SignalR without authentication

I'm using Nginx as a reverse proxy for my services. I use the following config: location = /order-service/hubs { proxy_pass http://order-service/hubs; p

Error io_setup() failed (38: Function not implemented) in Nginx for ARM M1

I have a docker container with nginx. I run it on a macbook with an M1 chip and get the io_setup error() failed (38: Function not implemented).

Problem with brotli configuration in nginx

I am following this guide https://www.vultr.com/docs/add-brotli-support-to-nginx-on-ubuntu-18-04 I have followed every step but I am stuck at Step 4 – Co

Compilation of nginx fails due to struct 'crypt_data' has no member named 'current_salt'

I am trying to compile nginx on Ubuntu machine with GCC. My Glibc version is 2.31. m@feynman:~/Junk/nginx-1.9.9 $ /lib/x86_64-linux-gnu/libc.so.6 --version GNU

open(/var/lib/php/session/...sesionid, O_RDWR) failed: Permission denied (13)

I am running my website on using ec2 nginx. I have done a update on the instance and now I getting this error when the site loads. open(/var/lib/php/session/ses

how to return json data instead nginx 401 page on auth request

let me asking this is my nginx config: location /index { auth_request /auth; proxy_pass http://127.0.0.1:8081; auth_request_set $use

Site does not open when Nginx Proxy Manager "Force SSL" option is active

I have cloudflare + docker + nginx proxy manager + portainer setup for normaly ssl connection. I am just starting to use these technologies together. What I wan

Proxy pass to a sub directory using nginx

I've got 2 Docker instances running, 1 being an SPA React app client and the other one is NodeJS api. I want to setup Nginx on my Ubuntu server to handle reques

Old problem PHP still not resolved. PDO pgsql is slower than pg functions

i fight with same issue as described here: Slow connection PHP PDO Postgres but not MySQL here's the thing - PDO Postgresql connections seem to be really slow

Use Nginx as reverse proxy, mount server at subfolder and add all links with the subfolder

I am running a Webserver with Python on localhost:5000. I would like to use Nginx as a reverse proxy to serve that website on localhost:80/subdirectory. That is

docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545:

I have a problem when i execute the next docker instructions: # make a directory mkdir /server/nginx cd /server/nginx # make a container docker run --name ngi

Kubernetes ingress timeout annotations not getting applied to the Nginx ingress controller

Edit: Now working. We do not what caused it to not work before. We are trying to set a different timeout for one of our downstream services (location) for our n

Backend Api error (502 bad gateway) from React Cilent to Express Server during deployment

I am trying to deploy my app on digital ocean (react-express app). During deployment, I used to make my requests to the following endpoint "http://localhost:800

How to load balance sockets using ingress nginx

In kubernetes I have a deployment of 3 pods in charge of the sockets. I wish to load balance the traffic between the pods of the deployment. To do it, I'm usin

How to configure Daphne proxy with Nginx and uwsgi

I have a Django application located in a server with Nginx and uwsgi configuration. And now I have to work with Django Channels too. In a local computer all it'