Browse Source

Fix php-ngx to use correct url (#5721)

* Fix php-ngx to use correct url

* Fixed the correct config
Joan Miquel 5 years ago
parent
commit
ccd99720e3

+ 1 - 1
frameworks/PHP/php-ngx/benchmark_config.json

@@ -2,7 +2,7 @@
   "framework": "php-ngx",
   "tests": [{
     "default": {
-      "plaintext_url": "/hello",
+      "plaintext_url": "/plaintext",
       "json_url": "/json",
       "port": 8080,
       "approach": "Realistic",

+ 1 - 1
frameworks/PHP/php-ngx/deploy/nginx_default.conf

@@ -35,7 +35,7 @@ http {
 
         php_keepalive 256;
 
-        location = /hello {
+        location = /plaintext {
             content_by_php '
                 ngx_header_set("Content-Type", "text/plain");
                 echo "Hello, World!";

+ 1 - 1
frameworks/PHP/php-ngx/deploy/nginx_plain_php.conf

@@ -38,7 +38,7 @@ http {
 
         php_keepalive 256;
 
-        location = /hello {
+        location = /plaintext {
             add_header Content-Type text/plain;
             content_by_php '
                 echo "Hello, World!";