server { listen 80; server_name localhost; root /app; # / speaks the handshake era, /stateless the modern one (SEP-2575). # Declared first so the prefix match wins. location /stateless { try_files $uri /tests/Conformance/server-stateless.php$is_args$args; } location / { try_files $uri /tests/Conformance/server.php$is_args$args; } location ~ \.php$ { fastcgi_pass php-fpm:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }