Category "nginx"

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'

nginx permission denied accessing puma socket that does exist in the correct location

On a Digital Ocean droplet running Ubuntu 21.10 impish I am deploying a bare bones Rails 7.0.0.alpha2 application to production. I am setting up nginx as the re

how to proxy through nginx server to nginx ingress controller

there are two servers external server on it nginx server internal access to it only through an external server, and also k8s with nginx ingress controller is in

Configure redirect Uris of Identity server in docker environment

Okay, this quite big so just skip to the last section for a brief. I have a demo application (netcore 6.0) built on micro-service architect, suppose we have 3 s

Nginx causes file upload to freeze

I've been trying to figure this out for days now. When I attempt to upload a file to my webserver written in java, about 2.5MB of the file uploads and then it j

Unable to access the nginx through Kubernetes LoadBalancer service

I'm using k8s provided with docker desktop (windows). My deployment.yml file is apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels

Simple internal server error because running uwsgi keeps on deleting the .sock file

I'm trying to deploy my first Django application by following these steps. The problem I have is that, for some reason, running uwsgi --emperor venv/vassals/ --

Docker Volumes in ECS -- how to connect nginx with php-fpm using unix socket

I tried to make the construction like figure1. figure1 In the local environment, I can access http://127.0.0.1 after running docker-compose up -d --build. And I

Error: getaddrinfo ENOTFOUND ingress-nginx.ingress-nginx-controller.svc.cluster.local

I am working with NextJS and I need for it to know when it's making a request on the server or on the browser. To do it on the server-side because I am building

Nginx ssl_session_cache difference between shared:SSL and shared:MozSSL?

When setting ssl_session_cache in Nginx I often see examples set it as one of the two options: ssl_session_cache shared:SSL:10m; or ssl_session_cache shared:Moz

Setting Nginx Header Host without breaking an existing ingress

When I add proxy_set_header Host $host; to my ingress file, it stops working. I think I need to set that as the value as I'm trying to expose SSL over Keycloak

Nginx deny if location contains

How can I deny access to nginx if the path contains /local or /local-int to all networks except the local one? For example https://example.com/api/local/setting

nginx cause ERR_TOO_MANY_REDIRECTS when using variable set $upstream

I do have a very odd phenomenon when configuring nginx as reverse proxy. While the following works just fine location / { proxy_set_header Host $host; p

nginx err_connection_refused, can anyone help me?

got installed my old site with php, mysql and so on, an everything work fine but my site is not reachable from the outside of my LAN. Did a ton of changes and t