Skip to content

Nginx requires 2x reloads when changing the project folder to start in Laragon #1307

Description

@joaowars776

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:

  1. Start Nginx for the first time in a new folder.
  2. 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').
  3. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions