Replace the Nginx config for one domain
One step with Laravel. We can help you get access.
Get something done
Replace the Nginx config for one domain
with Laravel
Use Laravel: its Forge Sites API lets you replace the Nginx config for one domain in a single step (PUT /orgs/{organization}/servers/{server}/sites/{site}/domains/{domainRecord}/nginx). capabilities.work can help you get signed up and connected.
- How do I edit the Nginx configuration of just one domain on my site?
- Can I push a custom Nginx server block for a specific domain?
Say it to your AI assistant
- Replace the Nginx config for domain {domainRecord} on site {site} on {server} in {organization} with {config}.
- Update the domain-level Nginx block of {domainRecord} (site {site}, server {server}, org {organization}) to {config}.
For your developer
PUT /orgs/{organization}/servers/{server}/sites/{site}/domains/{domainRecord}/nginx in Forge Sites API. Full spec on APIs.io.