What issue or error are you experiencing?
Hello Local Support,
I need guidance on a supported maintenance procedure for one Local site on Windows.
The underlying task is a plugin licence refresh. Our WordPress site has custom source-integrity and outgoing-HTTP controls, so the proposed maintenance requires temporarily restricting incoming traffic, performing one authorised administrator operation, and restoring the original configuration.
My question concerns Local’s server/process controls—not licence billing.
Could you confirm a supported procedure to:
-
Apply a temporary nginx restriction to this site and verify that the running nginx instance has loaded it.
-
Prevent ordinary requests while allowing the designated administrator operation.
-
Let existing requests finish, then retire only this site’s PHP-CGI workers without terminating active work.
-
Restore the original configuration and ensure subsequent requests execute the restored PHP code, including OPcache handling.
-
Do this without restarting the shared Local router or affecting other Local sites.
We prefer the normal Local interface and need a procedure without PowerShell. WordPress would continue to enforce administrator authentication and permissions.
Thank you,
Abdur Rahman
What steps can be taken to replicate the issue? This is a request for a supported maintenance workflow. The proposed isolation procedure has not been executed.
A read-only review of the installed Local application bundle reported that:
-
Site Start compiles configuration templates into generated configuration.
-
Normal Start/Restart also restarts the shared router.
-
Process.stop() uses tree-kill, whose Windows implementation invokes taskkill /T /F.
-
Normal site Stop exports the database before stopping the process group.
Therefore, we cannot assume that clicking Stop proves all active requests finished gracefully.
Please confirm whether the requested procedure is supported on this version, and which checks establish effective configuration and worker retirement.
If it is not supported, please identify the limitation and recommended alternative. If a newer Local version is required, does it change the underlying shutdown/router behaviour, or merely provide another interface through localwp?
System Details
-
Local Version: 10.1.1+6939
-
Operating System: Windows — exact edition/build to be confirmed
-
Web Server: nginx
-
Configured PHP Version: 8.2.35
-
Site configuration: two PHP-CGI upstream workers
Local Logs
No logs attached at this stage. No maintenance execution or resulting runtime failure has occurred.
Please let me know which specific, redacted logs or process details would help answer the control-sequence question.
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.