Category "nginx"

502 Bad Gateway upstream prematurely closed connection while reading response header from upstream with flask, uWSGI, nginx

how are you? I have a server on DigitalOcean with Ubuntu 16.04 I am making a Flask Application with uWSGI and Nginx. My files look like: wsgi.py: from flaskap

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

How do I setup files to run multiple flask (nginx, gunicorn) applications on one server? (specify separate ports)

After getting each application to run on their own you need to specify the port in the application, nginx and gunicorn/service files. I am using AWS with Centos

Configuring Axios for django-vuejs-nginx-docker

I'm using the stack described in the title and everything is fine in my dev environment so far. I used to have Docker containers both for my backend and my fron

WordPress + Nginx on non-standard port behind AWS ELB results in broken links

We have a Nginx listening on ports 80 and 443 and serving our main website. Let's say its name is demosite.com. It is running on AWS EC2 instance, and traffic

Rewriting WordPress URLs and parameters with nginx

Help , i need rewrite url with nginx . I have installed plugin "Ajax Search Pro" for replace theme search , but when i search , i got error when i move to page

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: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)

I've just recently moved my websites from apache2 to Nginx as my new web server backend. got to love problems aha. HTML files in the web host director work pri

nginx reverse proxy error: The page you are looking for is temporarily unavailable

I have a Nginx reverse proxy. I config it like this : server { listen 80 default_server; listen [::]:80 default_server; ser

How to redirect all request to index.php even with .php in the url

I have this nginx vhost config: server { listen 8081; server_name blocked_server; root /home/gian/blocked_server; access_log of

NGINX access-rights using string-interpolated file location

I found something curious about the nginx configuration. Whenever I put a string-literal as certificate/key-file location everything works fine. But since I nee

nginx "server_tokens" configuration ignored

nginx.conf: server_tokens off; Why could this get ignored, the header is still sent: Server: nginx No, other included config files do not contain server_t

Problem with NGINX, Kubernetes and CloudFlare

I am experiencing exactly this issue: Nginx-ingress-controller fails to start after AKS upgrade to v1.22, with the exception that none of the proposed solutions

Certbot renew: nginx: [error] open() "/run/nginx.pid" failed (2: No such file or directory)

Certbot and nginx versions: certbot installed using certbot.eff.org install guide. Certbot version: 0.22.2 Nginx version: 1.10.3 Getting ssl certificates wor

How to prevent "Access-Control-Allow-Origin" header contain multiple value

This is my Nginx CORS config: set $cors ''; if ($http_origin ~ '^https?://(localhost|www\.beloveddais\.com|www\.beloveddais\.com)') { set $cors 'true'; }

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

React application on production - links don't work when requested directly, they work only when accessed by react router

I have deployed an application on a ubuntu server. I ran npm run build, and copied all the content of build inside /var/www/html The file /etc/nginx/sites-avail

Setup nginx not to crash if host in upstream is not found

We have several rails apps under common domain in Docker, and we use nginx to direct requests to specific apps. our_dev_server.com/foo # proxies to foo app our

How can I connect mlflow server via nginx ssl authentication?

System information OS Platform and Distribution: Windows 10 MLflow installed: using pip MLflow version: version 1.24.0 **Python version: Python 3.9.7 ** Describ

Upgrade PHP on AWS Linux

I have an AWS server running a website with NGINX and PHP. I originally installed these using the following: sudo yum install -y nginx php-fpm The version of