Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
44 views

PHP Unable To Write To Cache Directory

I'm getting the below error on a CentOS 9 Stream server when a request comes in from PHP. It looks like the phpFastCache module can't write to the cache directory. 2024/06/19 10:06:34 [error] 4789#...
llanato's user avatar
  • 211
0 votes
4 answers
491 views

NGINX Reverse Proxy configuration not working

i have a Nginx Front End Server running on Centos9 on 10.0.100.6 and different docker Containers in the backend. The docker container working fine i can acess them ez via port number BUT my nginx ...
naseweis's user avatar
0 votes
1 answer
540 views

peer closed connection in SSL handshake while SSL handshaking to upstream

I have the below flow jmeter concurrent api request -> magento-host-server -> magento-container The below error occurs only during the concurrent requests from apache jmeter of testing team are ...
Rajsekar Reddy's user avatar
0 votes
0 answers
40 views

All .PHP pages give 5x error in nginx

I followed this guide to install Nginx and PHP on a CentOS server. I am able to do things like php --version and even use the interactive shell. But inside of /usr/share/nginx/html/, I make a PHP file ...
super15's user avatar
0 votes
0 answers
59 views

system load spikes causing php-fpm pools to fill and cause micro outages

kind of at my wits end at this point and looking for some help. 2 physical Web servers CentOS NGINX PHP5 php-fpm 2 physical DB Servers CentOS NGINX elastic search zookeeper couchbase as user load ...
John Bell's user avatar
1 vote
0 answers
54 views

Server with high bandwidth + ftp connection impossible (CENTOS 7 + NGINX)

I have a video streaming server using centos + nginx (1gbps port). When all services are active it is impossible to connect to ftp. There is no bandwidth left for FTP. It prevents me from adding new ...
Adonai's user avatar
  • 11
1 vote
1 answer
4k views

CentOS 7 - upgrade PHP version from 7.2 to 8

CentOS 7 Nginx Current websites run on PHP 7.2 PHP -v says ```# php -v PHP 8.0.25 (cli) (built: Oct 25 2022 09:42:31) ( NTS gcc x86_64 ) Copyright (c) The PHP Group``` But phpinfo() in the nginx ...
TheUnreal's user avatar
  • 129
0 votes
0 answers
312 views

Nginx equivalent for apache mod_rewrite rule

My script is hosted on centos 7 apache server, with below htaccess: <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> ...
ktiwari's user avatar
1 vote
1 answer
465 views

I need to redirect http to https connection with nginx on rest service and need to test it on postman or soapui

here is my nginx.conf file: What should i change to make it work and how to get certificate user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; # Load dynamic ...
Boro's user avatar
  • 31
0 votes
1 answer
42 views

Nginx, three identical vhost configs, one works, the other two got too many redirects

I got three websites on my server. My mainpage gamenotify.net works well. My other two are getting to many redirects between www and non-www url. My vhost files are identical to my mainpage. I just ...
Waffelparty's user avatar
0 votes
1 answer
2k views

CentOS - make Samba share available via nginx

I have a collection of files on a Windows share named \\winserver\bucket. On a CentOS server, I am able to mount it so the content is available for perusal. I created an empty directory named /mnt/...
Tony's user avatar
  • 101
1 vote
0 answers
344 views

Troubleshooting issue with nginx

Yesterday, the server worked, but now the url that used to work gives me: 404 Not Found nginx I am using Linux version 2.6.32-754.35.1.el6.x86_64 ([email protected]) (gcc version 4.4.7 ...
Sayaman's user avatar
  • 197
0 votes
0 answers
795 views

Setting up Nginx: port appears as not opened

I have gained access to a CentOS 8 machine which already has a web running on port 80. I have checked that there are no firewalls running (neither firewalld nor ufw). My idea is to set up a Django web ...
qwerty's user avatar
  • 101
0 votes
1 answer
218 views

"FetchError no backend connection" error when Apache is running

[centos@ip-172-35-25-65 ~]$ varnishlog 0 CLI - Rd ping 0 CLI - Wr 200 19 PONG 1635280998 1.0 0 CLI - Rd ping 0 CLI - Wr 200 19 PONG 1635281001 1.0 ...
Sayaman's user avatar
  • 197
2 votes
1 answer
9k views

nginx defaulting to /usr/share/nginx/html instead of going to folder specifed in root

I am using letsencrypt, to set up ssl for a django project that is hosted on production mode using nginx and gunicorn The OS(operating system) being used is: amazon Linux 2 Whenever I try to run the ...
Madhav's user avatar
  • 161
1 vote
1 answer
391 views

500 internal error in nginx centos

i'm trying to add a captcha in my wordpress login page. i get 500 internal error in firefox console when inspecting the page. i also have this in my nginx error logs: FastCGI sent in stderr: "PHP ...
matt's user avatar
  • 11
0 votes
1 answer
1k views

Nginx: rewrite file from directory to root

I have nginx server running over linux environment, and it is handling the domains www.example1.com and www.example2.com. each domain has its own sitemap, so I need the correct sitemap loaded for each ...
Eng7's user avatar
  • 137
-1 votes
3 answers
2k views

How to configure NGINX to route external request to my stage and production docker hosts

How to configure NGINX to route external request to my stage and production docker hosts I have 2 FQDNs stage.external.example.net and external.example.net that resolve to the same external public IP ...
zabumba's user avatar
  • 174
0 votes
0 answers
333 views

How I could install NGINX from nginx.org repo using yum in CentOS-8?

Problem: After enabling repos, like I did for centos-7, yum just does not see any Nginx RPMs from nginx.org repo: # cat << 'EOF' > /etc/yum.repos.d/nginx.repo [nginx] name=nginx repo #baseurl=...
vitaly.v.ch's user avatar
1 vote
1 answer
606 views

Enabling AMP parameters in Nginx

I'm trying to enable AMP pages on my drupal website on a VPS running on CentOS 7 and nginx. Previous web server was Apache and I changed it to Nginx for better performance due to daily requests. ...
samoolix's user avatar
0 votes
1 answer
1k views

Centos 8 folder permissions for nginx and sftp user

I can't figure out how to merge nxginx and sftp user for a folder. So for example I have folder: /var/www/domain.com/uploads sftp user is: john john belongs to group: sftpuser scenario with chown ...
andys's user avatar
  • 113
2 votes
1 answer
71 views

How can I stop all files being read only to PHP?

I'm setting up a new Centos 7 server to run some legacy sites on PHP 5.6.40 through PHP-FPM with Nginx. However, I'm running into a problem that all files are appearing to be read only. PHP is running ...
James Shields's user avatar
0 votes
1 answer
47 views

My centOS 7 minimal font screwed up when trying to tail modsecurity audit log

My font display was completely normal. But right after i cat or tail /var/log/modsec_audit.log, my font becomes like this. Any solution? Image link: https://i.sstatic.net/XkIyj.png
newbie01's user avatar
4 votes
1 answer
2k views

Could not allocate new session in SSL session shared cache "le_nginx_SSL" while SSL handshaking

I have a centos 8 server with nginx and certbot installed. When I check: cat /var/log/nginx/error.log I get this error a lot: [alert] 2245236#0: *42902735 could not allocate new session in SSL session ...
Adrien Parad's user avatar
0 votes
0 answers
614 views

PHP Zip module doesn't load

I use PHP 7.4 and Nginx 1.16.1 and i want to enable php-zip in my server because a wordpress plugin required it: I installed zip module (php-pecl-zip-1.19.1-1.el7.remi.7.4.x86_64). If i type php --...
50l3r's user avatar
  • 103
0 votes
1 answer
570 views

Cockpit: How do I create new sites/virtual servers?

Sorry for the noob question, but I just can't figure it out. I'm used to working with Virtualmin and setting up new site-accounts is as easy as "Create Virtual Server." Where can I do this ...
Trace DeCoy's user avatar
0 votes
2 answers
1k views

service nginx stop not working on one server but works well on another

Both are CentOS servers. Server A: After running service nginx stop, the Nginx processes are killed. ps -aux | grep "nginx" root 1729 0.0 0.0 125600 6488 ? Ss Sep15 0:00 ...
AGamePlayer's user avatar
3 votes
1 answer
4k views

NGINX SSL The certificate is not trusted in all web browsers. You may need to install an Intermediate/chain certificate

Hi I have strange error message when I check my SSL certificate on various websites. Although Web browser says https perfectly fine can see lock and I've always go sectigo website, it gives me CSR ...
danone's user avatar
  • 166
0 votes
0 answers
272 views

Reocurring error! the server quit without updating pid file

Dedciated Server Linux Cenos 6 Apache + Nginx We have had this issue happen several times now and happening after server has crashed or shut down the server quit without updating pid file After this ...
jt9489's user avatar
  • 11
1 vote
0 answers
213 views

(AWS) ALB with ec2 instances Amazon Linux and Nginx

I want to use Nginx in Amazon Linux intances. If I use a single instance with a public IP granted by Amazon, the configuration works. Then when I add an ALB and later add the target group the app ...
user_af's user avatar
  • 33
1 vote
1 answer
1k views

Installing Two PHP version in Centos 7

I need to run two PHP version in my centos 7 server. I am currently using PHP Webstatic repo for installing PHP and using apache. I just gone through the internet and most of them are using Remi repo ...
Muneesh DuRaipandi's user avatar
1 vote
0 answers
89 views

Avoid dnf update modification of /etc/php-fpm.d/www.conf

Yesterday I ran dnf update, which updated various php packages. I discovered some values that I had customized in /etc/php-fpm.d/www.conf were reset after the update. Specifically, I had these 3 ...
Chrysippus's user avatar
1 vote
1 answer
3k views

Cannot access domains hosted on Nginx

I have taken the task to try and figure out how to use Nginx to host my websites (previously using IIS). I purchased a VPS running CentOS 8. I have been trying to configure Nginx to run two different ...
beaver559's user avatar
0 votes
1 answer
1k views

Hostname won't resolve correctly if apache ServerName isn't localhost

We have a lamp centos 7 server in a datacenter, behind some sort of a Nginx proxy. We only have control over our centos server, we don't know anything about the proxy/firewall or anything. We have ...
Lynob's user avatar
  • 251
0 votes
0 answers
631 views

NGINX Reverse Proxy Not working with www url

I have a reverse proxy setup on Cent OS 7 and it's working well but the issue I just now noticed is that my domains will not work if you go to www.foo.foo.com but do work going to foo.foo.com. my ...
L04D1NG's user avatar
1 vote
0 answers
305 views

PHP high I/O after a DDoS attack

I've had a large scale DDoS attack on my website. After I've enabled captcha challenge through CloudFlare and the attack stopped, PHP's I/O was still loaded at 99%, and the website was working very ...
HTMHell's user avatar
  • 183
0 votes
1 answer
3k views

Nginx running and enabled but not serving

I currently have lighttpd web server working on my main website, and I want to change it to nginx. So I decided to run the nginx on another port to configure it with my website and see if it works. ...
TheUnreal's user avatar
  • 129
1 vote
0 answers
24 views

Nginx doesn't say "starting ... reverse proxy" when I've tried to configure it as a reverse proxy, rather is says "starting ... web server"

I'm setting up a new CentOS 7 Reverse Proxy with nginx. When nginx starts it shows: Started nginx - high performance web server I want a reverse proxy. Is there something to configure. I thought I ...
juliand's user avatar
  • 11
0 votes
0 answers
541 views

Php-fpm installed but php info still show CGI

I have a centos 7 server with a cwp installation on it (I have installed on it apache/nginx/varnish). i installed php-fpm and the status confirm it's running php-fpm.service - The PHP FastCGI ...
rita1989's user avatar
3 votes
2 answers
3k views

Cannot enable TLSv1 and TLSV1.1 on Nginx and Centos 7

I need to enable TLSv1 and TLSv1.1 for backward compatibility. This is my setup. >>> nginx -V nginx version: nginx/1.16.1 (packages.exove.com: SSE2, openssl-1.1.1d, PCRE JIT, TCP Fast Open) ...
yooneskh's user avatar
  • 131
0 votes
1 answer
1k views

Nginx+PHP-FPM "File not found" when changing Root directory in Centos 8

I'm new to nginx, and I want to change the root directory path. File: /etc/nginx/conf.d/default.conf server { listen 80 default_server; listen [::]:80 default_server; ...
Ruben's user avatar
  • 13
1 vote
1 answer
1k views

Nginx - Why Am I Getting a 403 Error on Centos 7 with Configs and Permissions Seemingly Set Correctly?

I'm trying to set up a basic web server using Nginx 1.16.1 on my Centos 7 server. I installed Nginx normally using yum, and the default page loads as it should in my browser. However, when I try to ...
Lobs001's user avatar
  • 131
0 votes
2 answers
5k views

Access website of nginx with "502 Bad Gateway"

I made a website by asp.net core and ran well in IIS before. Now I modify it to centos8 with Nginx. The project runs well in centos8 by URL http://0.0.0.0:5001 Nginx is used for a reverse proxy ...
Melon NG's user avatar
  • 103
2 votes
2 answers
3k views

forwarding docker container to nginx port

i have a server that has nginx run on it, and a domain that is been pointed to server, and i have CWP that configured to has nginx on the server. now i have a docker container that runs on port 3000 ...
amdev's user avatar
  • 121
1 vote
1 answer
248 views

mariadb 5.5 innodb keeps opening files up to 200k until system hangs completely

Mariadb 5.5 is installed on CentOS and serves a database in the total volume of around 40GBs (as measured per database files on a disk) and 506 tables. This database is being queried by php-fpm, and ...
Ilja's user avatar
  • 111
2 votes
1 answer
8k views

Nginx shows Cent OS welcome page instead of nginx welcome page

I have recently installed nginx in Cent OS and page loads successfully. But it shows Cent OS welcome Page instead of Nginx welcome page. Picture attached Cent OS welcome Page
Tek Nath Acharya's user avatar
0 votes
0 answers
94 views

PHP application with remote MySQL and nginx load balancers ends up with a huge page load execution time

I was reading and trying to set up a proper load balancer with PHP application using nginx. Now from the documentation I understand that I need to run on every server instance PHP and nginx, then use ...
Newbie's user avatar
  • 1
1 vote
0 answers
2k views

Postfix error: status bounced/deferred

I tried setting up Postfix 2.10/Dovecot 2.2 email server for my domain on my CentOS 7 VPS, but I have met my match and must defer to the internet. I am using Nginx and MariaDB with PostfixAdmin, and ...
SKNB's user avatar
  • 125
11 votes
4 answers
19k views

Too many open files (CentOS7) - already tried setting higher limits

First time setting up a VPS – being mindful not to ask here unless I done due diligence and provide context. On my remote VPS, through the terminal, almost all commands I run end up with an Error: ...
Henrik Söderlund's user avatar
2 votes
1 answer
1k views

NGINX - axios GET request returning the VUE.js index.html file for all static html files i'm trying to fetch via get requests

So, I have a vue app that's working well on my MAC running npm run serve. Running npm run build and deploy my code to my CENTOS environment (using NGINX) all of the .get requests are coming back are ...
jake's user avatar
  • 121

1
2 3 4 5
8