docs icon indicating copy to clipboard operation
docs copied to clipboard

Nginx config is not aware about web-installation files

Open u07 opened this issue 2 years ago • 2 comments

Hi! I think, the manual for nginx should be updated in order to allow execution of install.php and other /install scripts.

u07 avatar May 07 '22 23:05 u07

I mean, there must be something like this:

		# Install: delete when done
		location ~ \.php$ { 	    
			include fastcgi_params;
	        	fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
	        	#fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
			fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
		}		
		location ~ \install { 	    
			try_files $uri $uri/ =404;
		}

u07 avatar May 07 '22 23:05 u07

Feel free to submit a PR to add a section to https://wintercms.com/docs/setup/installation#web-based-installation if you'd like.

LukeTowers avatar May 09 '22 15:05 LukeTowers