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 …

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. …

PHP(32-bit) 2GB Range Download

I have the following problem: I have a php webpage which: is running on a raspberry pi(32bit) should deliver files for download which are bigger than 2 GB files are access protected, which means, …

Why is searching not returning results in Magento 1.9 with error messages appearing in nginx logs for FastCGI and Elastica?

I’m running Magento 1.9.4 on Ubuntu 18.04, PHP 7.2 with nginx 1.14 fronting it all. The shopping site is loading and navigable. However, when I search for a term, it does not list the matches in the …

URL Rewrite to Remove .php in my Nginx PHP-FPM

I setup Nginx PHP-FPM, with Centos 7, and Virtualmin control panel. I want to have all pages a SEO Friendly link without .php. System automatically create configuration : etc/nginx/nginx.conf And …

Laravel 6 with Nginx, php 7.4 fpm and mysql 8 on docker is slower than Laravel 4 on php 7.1

I have been working on a site built on Laravel 4.2 and on Php 7.1. Recently I have been trying to migrate the site to Laravel 6 with php 7.4 and mysql 8. I setup docker with the following settings. …

Nginx Returns Welcome Page Inside Docker Using Laravel & Traefik

I’ve setup Docker with a custom Nginx/PHP image for my Laravel app. I’m serving it via Traefik as I’m hosting multiple sites on one machine. Nginx only returns the Welcome to Nginx page when I load up …

How to require authentication to access files on a webserver (running Nginx)?

I have some files (mp4/pdf/etc..) that I want to deploy to my webserver, but I want access to be restricted so only users who have been authenticated can access them. The server is running centos 7 …