Browse Source

Fix nginx to use correct url (#5720)

Joan Miquel 5 years ago
parent
commit
bfd7c1442f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      frameworks/C/nginx/benchmark_config.json
  2. 1 1
      frameworks/C/nginx/nginx.conf

+ 1 - 1
frameworks/C/nginx/benchmark_config.json

@@ -3,7 +3,7 @@
   "tests": [
     {
       "default": {
-        "plaintext_url": "/",
+        "plaintext_url": "/plaintext",
         "port": 8080,
         "approach": "Realistic",
         "classification": "Platform",

+ 1 - 1
frameworks/C/nginx/nginx.conf

@@ -29,7 +29,7 @@ http {
                     #8080 default_server reuseport deferred backlog=65535 fastopen=4096;
         root /;
         
-        location = / {
+        location = /plaintext {
             default_type text/plain;
             return 200 "Hello, World!";
         }