Skip to main content
On this page

Install Semanto on nginx

View as Markdown

Three configuration files. nginx sends agents' requests to your signed copy and serves everything else as before.

Steps

  1. Download the package below and copy semanto-maps.conf and semanto-proxy.conf to /etc/nginx/.
  2. Inside http, add include /etc/nginx/semanto-maps.conf; and paste the contents of semanto-server.conf into your server block.
  3. Replace example-inc with your Trooth ID in both places, and point location @semanto_host at what your site serves.
  4. Run nginx -t, reload nginx, then press Check my site in the dashboard.

Download

Download the nginx package (zip, 5 KB). It holds the files the steps name.

Check it works

From any terminal. The answer should be markdown with Signature and Trooth-Semanto-Version headers.

sudo nginx -t && sudo systemctl reload nginxcurl -s -H "Accept: text/markdown" https://example.com/ | head

If Trooth is slow or down, your site keeps answering: what the adapter does.

All install guides

Was this page helpful?

View as agent