Nginx
Use this page for a self-managed Nginx server: DigitalOcean, a custom VPS and similar.
What you paste
Section titled “What you paste”Two location blocks. The app shows them under Setup → Connect your website with the values filled in; copy them with Copy setup snippet. The shape is:
location = /work { proxy_pass https://proxy.simplifylocal.app/<business-id>/work;}location /work/ { proxy_pass https://proxy.simplifylocal.app/<business-id>/work/;}<business-id> is filled in by the app. Do not type it by hand.
Keep both blocks. The exact match (=) covers the bare /work address; the prefix block covers everything under it. The exact match is deliberate so that paths like /workshop stay with the site.
Where it goes
Section titled “Where it goes”- Open the site’s Nginx server block, often
/etc/nginx/sites-available/yoursite. - Paste both blocks inside the
server { ... }block. The/workpath has to fall under these locations; a more specificlocationearlier in the file that also matches/worktakes precedence. - Test and reload:
sudo nginx -t && sudo nginx -s reload.
Do not add a proxy_set_header Host line inside these blocks. The request has to reach us as proxy.simplifylocal.app.
Do not add a block for /_next/*.
Verify
Section titled “Verify”Back in the app, click I added it. Check now. See Verify the connection for what each result means.
If the check reports that the site is forwarding but the signal isn’t getting through, look for a proxy_set_header Host $host; line that applies to these locations (including one inherited from the server block) and remove it from their scope, then reload and check again.