I’m not sure if this has been mentioned before I didn’t see anything. When I either run the CLI command or click the button in the Gui clear nginx cache it deletes the folder your domain.com in the var/cache/nginx/ dir. This causes the website not to load until you recreate the configs. This makes it kind of inconvenient. Is this something it’s doing or is there something wrong on my end?
We should also restart the proxy if enabled
Can you create an issue at Github…
This should solve the issue
I can create an issue if you want. I think the solution would be just to add /* after $domain in the command that deletes. So you delete the contents of the folder not the folder. Then you don’t have to worry about rebuilding your configuration. Restarting anything doesn’t fix if you have to actually rebuild the config files and make that directory form again. So just delete the contents instead. I did that at it on my server script so it works fine but the problem is an update will probably write that.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.