Category "nginx"

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

Running Omnibus Gitlab in Docker with Container Registry

I'm running gitlab on docker with a relative url my.domain.com/gitlab/. I have a nginx reverse proxy which passes the requests. Everything seems to be working f

nginx live streaming only audio not webcam

I have implemented the recommended steps as described in several sites (https://www.digitalocean.com/community/tutorials/how-to-set-up-a-video-streaming-server-

How to run sites in subdirectories with NGINX

My NGINX app looks like so: server { listen 80; server_name server_domain_or_IP; location / { include proxy_params; proxy_pass http

How to run sites in subdirectories with NGINX

My NGINX app looks like so: server { listen 80; server_name server_domain_or_IP; location / { include proxy_params; proxy_pass http

how to resolve nginx 502 bad-gateway error

I've containerized the next.js web application and hosted in aws ec-2. using nginx as proxy server this is the only working page / not working for any other p