This page allows you to create a custom NGINX configuration file for your web application.
Begin by opening your RunCloud dashboard and clicking on the NGINX Config option in the menu on the left-hand side.
Optionally, you can choose a predefined config from the drop-down menu. This will load the template of a common NGINX config that you can use. If you want to write your own config from scratch, you can select “I want to write my own config” from the menu.
Next, you need to specify the type of your config. You can choose other types of configs from the drop-down menu, such as location.main, location.root, location.static, etc. After this, you will need to enter a name for your config file.
Finally, you need to write the content of your config file in the text editor. You can use the NGINX syntax and directives to configure how NGINX handles requests for your web application. You can also use the buttons above the editor to run and debug your config, maximize the editor window, or switch between dark and light modes.
Once you are done writing your config, you can save it and apply it to your web server.