statamic / docs

Statamic Documentation
https://statamic.dev
Other
111 stars 374 forks source link

Consistent Nginx config #1331

Closed jimblue closed 5 months ago

jimblue commented 5 months ago

On the doc installation page the config is:

try_files /static${uri}_${args}.html $uri $uri/ /index.php?$query_string;

But on the doc static cache page here is the recomended config:

try_files /static${uri}_${args}.html $uri /index.php?$args;

Which one is the best ?

joshuablum commented 5 months ago

Which one is the best ?

It results in literally the same, see their docs in this.

$query_string same as $args

Adjusted this to be $args in both docs pages for consistency, thanks!