Category "nginx"

Using 11ty as CMS for backend system

Not 100% sure if this is possible but the goal is to have a single point of entry (naked domain https://example.com) for entire system Backend/application (load

Using Nginx with gunicorn without .sock on linux?

I have a python web app that uses Flask and gunicorn, and everything works great. I plan on hosting this on a public website and want to use nginx, but did not

Remove args if request_uri begins with specific strings/regex (with some exceptions) - Nginx

I want to redirect (301) several locations if they have query params at same locations without query params, but with some exceptions. For example, I want these

"Failed to initialize Lua VM with Passenger on Docker

I'm trying to setup a development environment that uses docker but the passenger docker image gives me this error over and over again. [1] development-passenger

how to make rest api private and just can called from api gateway server

How to make my rest api accessed from my api gateway only so another people cannot access directly e.g: curl http://ip:port/enpoint so how to make that rest ap

nginx in Docker - returns "server" directive is not allowed here

I have dockerized an Angular application with the following Dockerfile and nginx.conf. The container works fine in Docker desktop. When deploying in Kubernetes

Symfony nginx reverse proxy on folder

I have a simple Symfony application, using Webpack Encore. I also have a nginx server, with this below configuration to access to my Symfony app: server {

Flask redirecting leads to time-out error

I have this simple redirect from '/' to '/home', handled by flask with app.py @app.route('/') #Redirects to home page def redirect_home(): return redirect("

nginx ssl_preread_server_name shows wrong content

I'm having issues with my nginx configuration, we are using a stream in order to use SSL passthrough, however we plan on having multiple URLs pointed to this ng

Elasticbeanstalk - Nginx "connect() to unix:/run/php-fpm/www.sock failed"

My x_optimize_php.sh file is below #!/bin/bash # This file will make sure that will set the max processes and spare processes # according to the details pr

Optimal Nginx and Puma configuration

Production environment: ubuntu 22.04 Puma is NOT installed as a system service Development Environment: Mac OS Rails app: Rails 7 Ruby 3.1 tailwind puma gem i

debian:jessie docker image does not install Nginx with HTTP/2 support

I have this Dockerfile: FROM debian:jessie ARG ENV_APP ARG ENV_SMF RUN apt-get update && apt-get install -y nginx ADD conf.d/nginx.conf /etc/nginx/ A

Is there any way to expose a port from a docker container without using port mapping or getting a randomized container port?

I have a nginx docker container that I am trying to host on azure container instances. For the sake of this question, let's just assume that I'm only interestin

Dovecot SSL path for email server behind nginx reverse proxy

it's my first post here although I've been lurking since my IT career started. My issue is as follows: I have got a separate VM running an email server and sepa

Unable to serve static file in Django deployed to production in Digital ocean

Currently I deployed my django app in Digital ocean droplet. In localhost it works well but it cant serve js/css files in static folder when deployed to prod. H

Can't establish wss connection [React + ASP.NET Core, SignalR + nginx]

I have React app that talks to Asp.Net core API. Both of them are deployed on Docker on my VM. Nginx is installed and configured to resolve domain names for app

SSL Passthrough is is not working for server alias, but only for host - kubernetes ingress NGINX

I created a Kubernetes ingress object with the following configuration. It has one host and one alternate server name (server alias). apiVersion: networking.k8s

Kustomize with Nginx Virtual Server - Server Snippets

I'm migrating a complex helm deployment to Kustomize to remove the templating complexities but am running up against trouble when it comes to the nginx virtual

nginx redirecting all subdomains (when it shouldn't)

I have an nginx server running. I want it to redirect http://www.example.com to https://www.example.com, but not touch any other subdomains like http://foo.exam

nginx: [emerg] "if" directive is not allowed here in /etc/nginx/nginx.conf:64

So I am trying to block certain web browsers (not that you need to know) and everyone says to add if ($http_user_agent ~* (Chrome) ) { return 403; } I do all of