We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9be3b3 commit 753b918Copy full SHA for 753b918
modules/wordpress/templates/site/site.nginx.erb
@@ -25,7 +25,9 @@ server {
25
include /etc/nginx/wordpress-subsites/<%= @host %>.d/*.conf;
26
27
<%- if @gilded_wordpress -%>
28
- location ~ ^/resources/(?<name>.*) {
+ # Avoid matching /resources/ itself as that can be a real page
29
+ # https://jquerymobile.com/resources/
30
+ location ~ ^/resources/(?<name>.+) {
31
alias <%= @base_path %>/gw-resources/<%= @host %>/$name;
32
}
33
<%- end -%>
0 commit comments