server { listen 8002; server_name _; # Reflect #root /var/www/reflect/public; # Vegvisir root /var/www/fw/vegvisir/public; # Other #root /var/www/sites/href/public; index index.html index.php; # location ~ /assets/* { # root /var/www/sites/vlw.se/public; # root /var/www/vegvisir-website/public; # root /var/www/icellate-web; # root /var/www/genemate-2/public; # root /var/www/lams; # root /var/www/violet; # try_files $uri $uri/ =404; # add_header Access-Control-Allow-Origin *; # } location ~ /* { try_files /index.php =503; add_header Access-Control-Allow-Origin *; include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.4-fpm.sock; #fastcgi_pass unix:/run/php/php7.3-fpm.sock; } }