Category "nginx"

Django with postgresql deployment on aws elastic beanstalk

I’ve been trying to deploy a django application with postgresql db on aws elastic beanstalk and i ran into many issues that i surfed and solved. Now the a

How to configure Nginx and Adminer

I installed the Nginx server on kali linux and I manage to access it by entering localhost in the browser. I then installed Adminer in order to graphically mana

Django digital ocean droplet isn't showing the website when connected with a namecheap domain

So I'm using a Django Digital Ocean droplet to run a website. I recently tried connecting the IP address of the droplet to a namecheap domain name, but when I c

NGINX rewrite rule using two variables

I would like to achieve this but don't know how, or if it is possible: web.com/anything => if web.com/show.php?query=anything web.com/anything/something =>

why nginx error 404 when downloading a file

When I try to download a file on a workbench with 3000+ records, a 404 nginx error crashes. When I try to download a file with fewer entries, everything is ok.

headers from apache to nginx after authentication

I have Nginx server that sends request to Apache server for protected content, Apache inturn forwards to Azure ADFS, for Azure ADFS authentication with Apache m

How to register Options Indexes FollowSymLinks AllowOverride All for directory rule in nginx?

the config file in the Apache site has these lines: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html/public/ <

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