Aka embedding without the need for creating a snippet first.
This reads code blocks directly from the page and talks with the
tech-playground API to execute them, showing results in-line.
worker_processes 1;
worker_rlimit_nofile 8192;
events {
worker_connections 4096;
}
http {
include /etc/nginx/mime.types;
index index.html index.htm index.php;
server {
listen 80;
server_name basic;
access_log /dev/stdout;
location / {
proxy_pass http://httpbin.org;
}
location /deny {
deny all;
}
}
}
curl http://127.0.0.1/headers