You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
propose to enhance the server object by adding new attributes and methods that will simplify the access and modification of its listening configuration, location details, and other pertinent settings. The following are potential enhancements and features that could be incorporated:
// get server by servernameserver:=conf.GetBlock(*.config.HTTP).GetServerByServerName("example.com")
// get all listening ports for the serverlistenPorts:=server.GetListenPorts()
// change the first listen port configuration to 8080server.Listens[0].SetListenPort(8080)
// retrieve all location configurations for the serverlocations:=server.GetLocations()
Please consider implementing these functionalities to streamline working with complex server configurations and encourage more robust and dynamic management of Nginx setup through this library.
Let's discuss the feasibility and potential implementation details for these enhancements under this issue thread.
The text was updated successfully, but these errors were encountered:
I would like to develop these features. Some of the features have already been implemented in the project I am working on. After the completion of the subsequent work, I will submit a Pull Request.
propose to enhance the server object by adding new attributes and methods that will simplify the access and modification of its listening configuration, location details, and other pertinent settings. The following are potential enhancements and features that could be incorporated:
Please consider implementing these functionalities to streamline working with complex server configurations and encourage more robust and dynamic management of Nginx setup through this library.
Let's discuss the feasibility and potential implementation details for these enhancements under this issue thread.
The text was updated successfully, but these errors were encountered: