Accept cookies for analytics, social media, and advertising, or learn more and adjust your preferences. These cookies are on by default for visitors outside the UK and EEA. Privacy Notice.
We have this handy getting started document to get you going. There is also the following resources:
Additionally there are examples and tutorials below to help you get up to speed with configuring NGINX the way you want it.
As you learned in the tutorials, most NGINX configuration files are very similar. You can apply the same logic to most web applications and achieve the desired result. There are some applications that have weird little quirks that tend to throw a wrench in things.
NGINX happens to have a very well rounded community that has worked to first address these quirks and then share the resulting configurations. This has resulted in many “copy and paste” configurations that are almost guaranteed to work.
If the web applications with the configuration don’t work, please check whether the simplest web application works. For example, if PHP based web applications such as mediawiki don’t work, please check if PHP FastCGI (refer to PHP FastCGI Example) works.
Of course, NGINX can do much more. We’re barely scratching the surface. If you’re interested, you can take a look at some other examples that have been developed.