Add Web NGINX template for SULU CMS


Recently deployed a project on SULU CMS based on Symfony Used the Web NGINX template ‘symfony4-5’. Works well except for the operations with images in admin panel: ‘Set focus point’ and ‘Define crops’. After doing some research I found that I need to comment out the lines in the Web NGINX template ‘symfony4-5’:

location ~* ^.+\.(ogg|ogv|svg|svgz|swswf|eot|otf|woff|woff|woff2|mov|mp3|mp4|mp4|webm|flv|ttf|rss|atom|jpg|jpeg|jpeg|gif|png|webp||ico|bmp|mid|midi|wav||rtf|css|js|jar)$ { 
 	expires 30d;
	 	fastcgi_hide_header "Set-Cookie";

And add strings instead:

location ~* \.(?:ico|css|js|gif|webp|jpe?g|png|svg|woff|woff2|eot|ttf|mp4)$ { 
	# try to serve file directly, fallback to index.php
	try_files $uri /index.php$is_args$args;
	access_log off;
	expires 1y;
	add_header Pragma public;
	add_header Cache-Control "public, immutable";

as recommended by SULU Nginx — Sulu 2.5 documentation .

Given that the SULU CMS project has been active in recent years, please consider including a Web NGINX template for SULU CMS.