nginxarchitecture
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nginxarchitecture [2024/10/27 02:52] – [Basic Nginx Configuration] admin | nginxarchitecture [2024/10/27 02:55] (current) – [Basic Nginx Configuration] admin | ||
---|---|---|---|
Line 71: | Line 71: | ||
try_files $uri $uri/ / | try_files $uri $uri/ / | ||
} | } | ||
- | </ | + | </ |
- | + | location / => matches all locations** | |
+ | try_files $uri =>try $uri first, for example http:// | ||
+ | $uri/=> which means if you didn't find the first condition $uri try the URI as a directory | ||
+ | </ | ||
===== Optimize nginx configuration for performance and benchmark ===== | ===== Optimize nginx configuration for performance and benchmark ===== | ||
refer: | refer: |
nginxarchitecture.1729997541.txt.gz · Last modified: 2024/10/27 02:52 by admin