Category "nginx-config"

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

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

NGINX config for site down

I'm trying to get nginx to forward to my S3 bucket when my web app k8 pod is down. So I was hoping the below config would, in the case of 50x error or no respon

How can I make this nested location configuration use the correct path to call a php program?

I have setup nginx to allow users to have a user website (https://example.org/username maps to /home/username/www). I want to allow my users to use php. Php is

How can I leverage nginx to enforce a delay/rate-limit between outbound requests?

I am working with an external API that expects me to self-limit requests to no more than one request every 20 milliseconds (500 req/s total). I can easily do t

502 Bad Gateway for Proxy Pass to HTTPS API server sitting behind Cloudflare Proxy

My current configuration is as shown below. I have frontend delivered from EC2 instance on VM1. The HTTPS API server is on VM2 proxied by Cloudfare. If I call t

Not able to see URL without trailing slash in NGINX

I know that this is a common issue in NGINX and there are many threads about that. Issue: When accessing the URL http://localhost/var without trailing slash is

"Error: Invalid WebSocket frame: RSV1 must be clear" while using Socket.IO

What might be the problem for which, I'm getting this error "Error: Invalid WebSocket frame: RSV1 must be clear"? I'm using the socket.io package to connect to

Run multiple django project with nginx and gunicorn

I am using Ubuntu 18 servers and using nginx with gunicorn I follow Digitalocean tutorial for server setup. I successfully did for one project but now I need to

NGINX + Let's encrypt: Could not automatically find a matching server block

I'm publishing a website made with Python Pyramid on an Ubuntu 18.04 server. The website is running properly on HTTP and now I'm trying to make it run on HTTPS

Do I need to create my own nginx.conf file to run this docker-composer.yml file succesfully?

I am trying to get a nextcloud + mariadb + nginx docker-compose up and running locally, but I am stuck when it comes to the nginx.conf file. I am following this

Nginx reverse proxy issue long request

I'm stuck on a problem for a long time now with two nginxs server which the first is acting as a reverse proxy and the second as the backend server. Here is my