Score:1

RewriteRule in RewriteRule

mw flag

I need help with nginx, to create a rule in the url

I have this route: "/site/assets/523917fe/example.js"

but I need the nginx to interpret it

location / {

      index index.php;

      try_files $uri /site/frontend/web/index.php$is_args$args;

       rewrite ^assets/(.*)$ frontend/web/$1 break;
    }

since this is the real path: "/site/frontend/web/assets/523917fe/example.js"

Thank you

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.