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:51] – 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** | + | location / => matches all locations** |
| - | * **try_files $uri** try $uri first, for example http:// | + | 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 | + | $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.1729997481.txt.gz · Last modified: by admin
