Failed login attempts via nginx/laravel API calls

I was dealing with an issue where my API site was not accessible either by my iOS app or by a web client. I fixed the issue and can now visit the API site via web client, but now am unable to login to …

after upgrade to php8.0, nginx still uses php7.2 for PHP-FPM

I’m running Ubuntu 18.04 with nginx/1.14.0. I have been running PHP 7.2 but some of my web applications require a newer php for security reasons. Since it is nginx, I use PHP-FPM. I used apt to …

Why am I able to run PHP sudo commands?

I have a PHP script that does the following: $output = exec(‘sudo nginx -t 2>&1’); echo $output; As expected, it returns the following due to using a sudo command: sudo: no tty present and no …

NGINX/PHP cant access files outside root directory

I just installed nginx and php72 on openbsd server to setup an website. I have my website root directory in /var/www/html and want to access some XML files that I store in /var/cache/. The problem is …

nginx return 200 but empty reponse

I am currently migrating apache to nginx and I am struggling to get it working. Basically I get a 200 response with no content. My nginx configuration is as below: server { listen [::]:8749 …

Nginx on Docker serves only welcome pages

I’m using macOS. I’m working on a Debian image created through Dockerfile. Nginx, php-fpm was installed in Debian image. Then I copied server file to /etc/nginx/sites-available/server and created its …

How to install TYPO3 on AWS Elastic Beanstalk?

I’m trying to deploy TYPO3 version 10 to an EC2 instance using AWS Elastic Beanstalk, however, none of the methods described in the official documentation works (manual installation and via composer)….

Host laravel application inside laravel application

I am trying to host a laravel inside a laravel application because I need it to work on the same domain. So imagine my domain is somedomain.com. I am already pointing it to the public directory of a …

Can’t make a simple Login to PHP Form Centos 8 Nginx 1.41

I have an Nginx web server installed on Centos 8, suddenly after I enable execute PHP in HTML in Nginx configuration I can’t log in to some scripts installed like FileRun or ProjectSend or a simple …

Wildcard subdomain and a specific subdomain configuration in same server Nginx

I had set up a wildcard subdomain server for my PHP app1 domain like *.domain.com in Nginx default configuration. My app1 was serving if someone type x.domain.com or y.domain.com everything was fine. …