Category "nginx"

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

Aws elastic beanstalk nginx config is not working for my nodejs web application

I am using amazon elastic beanstalk for my nodejs website with nginx as proxy. I want to set the maximum upload size to 20mb as the default size is 1mb. I have

Docker container accessible only via Cloudflare CDN (selected ip ranges)

I have webserver in docker container, but I cannot configure iptables on my host (Debian). I want allow only specified ip addressess to connect on ports 80 and

python-requests making a GET instead of POST request

I have a daily cron which handles some of the recurring events at my app, and from time to time I notice one weird error that pops up in logs. The cron, among o

keep the nginx logs of the last 30 days [closed]

I want to keep the nginx logs of the lsat 30 days. The default configuration is 15 days, as the image shows. I would like to keep the last

Nginx RTMP not recording

I already setting up Nginx RTMP in ubuntu linux hosted by DigitalOcean. And currently running my laravel web application in localhost mode in my desktop. Everyt

Can't login to ODK Central Admin panel

My ODK central was working perfectly fine before I decided to update it to the recent release of ODK using this URL (https://docs.getodk.org/central-upgrade/),

Nginx display custom error page if folder does not exist

I would like to display a custom error page if there is a folder missing. My directory structure is the following: data defaults error.html notho