Score:0

Restart Nginx with Ruby on Rails

eg flag

I made a website that does some complex processes with selenium. For this reason, I feel that the server is very slow after processing. Because when I restart Nginx, the slowness problem disappears.

My question is: How can I restart the Nginx using a route like '/restart-server' ? Is it possible to do this through a controller?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.