server { listen 80; server_name backend; location /status { default_type text/plain; return 200 "backend-ok\n"; } location / { default_type text/plain; return 200 "backend-default\n"; } }