Skip to content

Commit

Permalink
Minor tweak (should still work)
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Nov 26, 2024
1 parent 0bfde51 commit 9a5a02b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 3.x/setup/web-server-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ location ~ /\.(?!well-known).* { deny all; }
location ~ ^/storage/app/(uploads/public|media|resources) { try_files $uri 404; }
location ~ ^/storage/temp/public { try_files $uri 404; }
location ~ ^/modules/.*/(assets|resources) { try_files $uri 404; }
location ~ ^/modules/.*/((behaviors|widgets|formwidgets|reportwidgets)/.*/)(assets|resources) { try_files $uri 404; }
location ~ ^/modules/.*/(behaviors|widgets|formwidgets|reportwidgets)/.*/(assets|resources) { try_files $uri 404; }
location ~ ^/plugins/.*/.*/(assets|resources) { try_files $uri 404; }
location ~ ^/plugins/.*/.*/((behaviors|reportwidgets|formwidgets|widgets)/.*/)(assets|resources) { try_files $uri 404; }
location ~ ^/plugins/.*/.*/(behaviors|reportwidgets|formwidgets|widgets)/.*/(assets|resources) { try_files $uri 404; }
location ~ ^/themes/.*/(?:assets|resources) { try_files $uri 404; }
```
:::
Expand Down

0 comments on commit 9a5a02b

Please sign in to comment.