Pushing to Git returning Error Code 403 fatal: HTTP request failed

I was able to clone a copy of this repo over HTTPS authenticated. I've made some commits and want to push back out to the GitHub server. Using Cygwin on Windows 7...

Nginx request_uri without args

How do I get the value of request_uri without the args appended on the end. I know there is a uri variable but I need the original value as the Nginx documentation states: request_uri This...

Increasing client_max_body_size in Nginx conf on AWS Elastic Beanstalk

I'm running into "413 Request Entity Too Large" errors when posting files larger than 10MB to our API running on AWS Elastic Beanstalk. I've done quite a bit of research and believe that I need to...

Nginx proxy_pass based on POST/GET/PUT/DELETE parameter

I'm trying to configure nginx to do a proxy_pass based on a POST/GET/PUT/DELETE parameter in my request. I want to proxy_pass to http://10.0.0.2:8000 if live=1 or to http://10.0.0.2:8081 if...

Haproxy Bad Gateway 502

So I am using HAProxy in front of Jetty servlets. The goal at the moment is just proof of concept and load and stress testing once everything's configured. However I have a problem configuring...

Why is PyMongo 3 giving ServerSelectionTimeoutError?

I'm using: Python 3.4.2 PyMongo 3.0.2 mongolab running mongod 2.6.9 uWSGI 2.0.10 CherryPy 3.7.0 nginx 1.6.2 uWSGI start params: --socket 127.0.0.1:8081 --daemonize --enable-threads --threads 2...

How to rebuild docker container in docker-compose.yml?

There are scope of services which defined in docker-compose.yml. These service have been started. I need to rebuild only one of these and start it without up other services. I run the following...

How to redirect 404 requests to homepage in Django single page app using Nginx?

I have a django single page application. Currently when you visit a url on the site that doesn't exist a 404 error is displayed. However, in this case I want to redirect to the homepage of the...

Using Keycloak behind a reverse proxy: Could not open Admin loginpage because mixed Content

so I have a problem getting keycloak 3.2.1 to work behind kong (0.10.3), a reverse proxy based on nginx. Scenario is: I call keycloak via my gateway-route via https://{gateway}/auth and it shows...

Kubernetes - Pod Remains in ContainerCreating Status

I am new to all things Kubernetes so still have much to learn. Have created a two node Kubernetes cluster and both nodes (master and worker) are ready to do work which is good: [[email protected]

docker compose override a ports property instead of merging it

My docker compose configs look like this: docker-compose.yml version: '3.5' services: nginx: ports: - 8080:8080 docker-compose.prod.yml version: '3.5' services: ...

How to disable backticks operator in php?

I disabled functions in php.ini, but backticks operator still work! disable_functions = “apache_child_terminate, apache_setenv, define_syslog_variables, escapeshellarg, escapeshellcmd, eval,...

Reload Nginx in during docker build

I am trying to install nginx (and then nodejs) in my container. I have my own nginx config files in nginx/ folder: # --- Release with Alpine ---- FROM phusion/baseimage:0.10.1 # Create app...

Nginx: Failed to start A high performance web server and a reverse proxy server

I try to start this service but i can´t, the error below occur: [email protected]:/home/appliance# systemctl status nginx.service nginx.service - A high performance web server and a reverse proxy...

nginx, serve static files with authentication

I'm developping a web application with aiohttp where users authentication is implemented with aiohttp-security. I use nginx for the server deployement. The configuration is inspired by the aiohttp...

Google Cloud App Engine app.yaml php72 issue with routing

I have a core php website and this is my current configuration of app.yaml runtime: php72 handlers: # Serve a directory as a static resource. - url: /assets static_dir: assets - url: /css ...

Gateway timeout with Spring cloud gateway and Nginx as reverse proxy

I created an API gateway for my application and it will act as a front controller for other microservices. In my production setup I use Nginx as a reverse proxy for my gateway The API gateway is...

Why is CORS working for API requests but not media files (e.g. mp4, webm) on my Nginx config?

I have set up an Nginx server on Ubuntu that serves up two website. One is a Wordpress delivering its API content, the other is a frontend app consuming the API using Axios. I can query and read...

502 Bad Gateway nginx/1.14.1 elasticbeanstalk .net core app running on docker

I have .net core app running in docker, when I deploying image to amazon Elastic Beanstalk, status is ok, however when I am trying access the page i am getting "502 Bad Gateway...

How to customize error pages served via the default backend of an nginx ingress controller?

I'm running an Nginx Ingress Controller installed via Helm on my Kubernetes cluster. I would like to change the HTML/CSS in the default backend service for some specific errors (e.g. 404). This...

How do I install SSL certificate on my ubuntu server

I have been given a .pfx file and a pass key. How do I install ssl certificate on my ubuntu server through cli. The server is nginx.

IPv6 binding error: Cannot assign requested address

As I understand, IPv6 addresses are allocated in blocks. Each machine gets a range of IPv6 address and any IPv6 address in that range would point to it. Basis for this...

Azure monitor Containers and prometheus integration

Trying to use Prometheus for scraping metrics for ASP.NET Core webapi deployed as linux docker conatiner in AKS. Here below are few more details about AKS: Using Nginx Ingress internal load...

How to serve the right mime type for a blazor site on ubuntu nginx

I have built a blazor webassembly site which I host on an ubuntu server using nginx. The configuration of the site in nginx is like this: server { server_name app.mysite.local; root ...

Can We use Multiple AWS ACM Certificates at Nginx-Ingress-Contoller OR Multiple ACM certificate at Ingress object level?

We are using EKS and Nginx-ingress(NLB). I'm trying to configure multiple AWS ACM certificates in the AWS-load-balancer-SSL-cert annotation for NLB. But with no luck. Could someone help if it...

Ingress-controller-nginx leader election - Why?

Can anyone explain why there is a requirement for leader election when having an ingress-controller (nginx) deployment with multiple replica's? Is there a sync going on between them? What is...

Using both nginx template feature and a reloading solution

I have a docker project using both nginx and let's encrypt with certbot. I'm quite new to docker, and for my nginx image, I'm using the feature that is helping me to use environment variables in...

Pods starting but not working in Kubernetes

Created Kubernetes cluster deployment with 3 Pods, and all are running fine, but when trying to run them cannot do it, tried doing curl the Ip (Internal)of the Pods in describe section i could see...

How to configure Glassfish 4 to include certain headers for a simple static website without writing java code?

I have a simple static website (a single index.html page and some css files) being served by a Glassfish 4 server. I am required to include the following headers: - Cache-control: no-store -...

How to use rewrite rule for Node exporter under Nginx Reverse Proxy?

I have a usecase where node exporter is running under reverse proxy. Here is the snippet of my current configuration: location /node_exporter { proxy_pass ...