I made a Portable Server for the game [Club-Penguin], I had to change the .tpl of nginx.conf because when changing folders, it reset to the .tpl inside /usr/tpl. What I did was add the server's correct nginx.conf to this tpl (and also Laragon's nginx.conf tpl) so that it restarts for the same purpose (since I used the name change method, it will be configured).
It worked perfectly, but the user needs to do the following:
- Start Nginx for the first time in a new folder.
- Activate Nginx and click Reload twice (it has to be exactly twice, and both times a warning will appear 'Oops, Nginx is not running! No need to reload').
- When turning Nginx off and on again after reloading twice, it asks for firewall confirmation, and it works perfectly after, also the reload are maded successfully after.
I don't know if it's a bug or something, but this method worked for me, but I still decided to report.
You can follow this at minute 1:40 of my blog post. Video:
https://youtu.be/HK8L7f3-kUE?si=zEZWI5CesVK7LJkz&t=99
Sorry if I can't post a link here. It's not my intention to disclosure something mine, but rather to describe the problem in practice.
I made a Portable Server for the game [Club-Penguin], I had to change the .tpl of nginx.conf because when changing folders, it reset to the .tpl inside /usr/tpl. What I did was add the server's correct nginx.conf to this tpl (and also Laragon's nginx.conf tpl) so that it restarts for the same purpose (since I used the name change method, it will be configured).
It worked perfectly, but the user needs to do the following:
I don't know if it's a bug or something, but this method worked for me, but I still decided to report.
You can follow this at minute 1:40 of my blog post. Video:
https://youtu.be/HK8L7f3-kUE?si=zEZWI5CesVK7LJkz&t=99
Sorry if I can't post a link here. It's not my intention to disclosure something mine, but rather to describe the problem in practice.