HTTPServer: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:HTTP Server}}
== What is the built-in HTTP Server? ==
== What is the built-in HTTP Server? ==
The GTA Connected server provides a built-in HTTP server which used to distribute client-side resource files to clients when they connect to the server (like audio, images, etc ... ''not'' scripts though).  
The GTA Connected server provides a built-in HTTP server which used to distribute client-side resource files to clients when they connect to the server (like audio, images, etc ... ''not'' scripts though).  
Line 4: Line 6:
== Do I need it? ==
== Do I need it? ==
If you're hosting from your PC at home, the answer is most likely '''yes'''.
If you're hosting from your PC at home, the answer is most likely '''yes'''.
== How can I turn it on/off? ==
In your [ServerConfiguration|server configuration], change the <httpserver> option to false to turn it off, or true to turn it on.
The server must be restarted for these changes to take effect.


== For advanced users ==
== For advanced users ==
Turning off the built-in HTTP server is typically for server owners or hosts that want to use another HTTP service like [https://httpd.apache.org/ apache2] or [https://nginx.org/en/ nginx] to distribute the client resource files. Doing this can also help improve performance of the host if you run more than one server using the same resources, need to tweak how the HTTP service distributes the files (connection/bandwidth limits, firewall, etc), or if the server isn't loading any resources that contain client-side files.
Turning off the built-in HTTP server is typically for server owners or hosts that want to use another HTTP service like [https://httpd.apache.org/ apache2] or [https://nginx.org/en/ nginx] to distribute the client resource files. Doing this can also help improve performance of the host if you run more than one server using the same resources, need to tweak how the HTTP service distributes the files (connection/bandwidth limits, firewall, etc), or if the server isn't loading any resources that contain client-side files.
2,603

edits

Navigation menu