Knowledge Base
Authentication is disabled (development mode).

nginx pass PHP scripts to FastCGI server

Edit

nginx php

server {
	# pass PHP scripts to FastCGI server
	location ~* \.php$ {
		include snippets/fastcgi-php.conf;
		# With php-fpm (or other unix sockets):
		fastcgi_pass unix:/run/php/php7.2-fpm.sock;
		include fastcgi_params;
		# nginx.conf sets default type to application/octet-stream,
		# we expect HTML content, however....
		default_type text/html;
	}
}