HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/certbot_nginx/_internal/tests/testdata/etc_nginx/edge_cases.conf
# This is not a valid nginx config file but it tests edge cases in valid nginx syntax

server {
  server_name simple;
}

server {
  server_name with.if;
  location ~ ^/services/.+$ {
        if ($request_filename ~* \.(ttf|woff)$) {
      add_header          Access-Control-Allow-Origin "*";
    }
  }
}

server {
  server_name with.complicated.headers;

  location ~* \.(?:gif|jpe?g|png)$ {

    add_header  Pragma public;
    add_header  Cache-Control  'public, must-revalidate, proxy-revalidate' "test,;{}" foo;
    blah  "hello;world";

    try_files   $uri @rewrites;
  }
}