79095603

Date: 2024-10-16 19:45:09
Score: 1
Natty:
Report link

As wrote luwes, you can add proxy_pass, and I deducted useful assets:

 location ~ \.php$ {
        proxy_pass $scheme://$host$uri/$args;
 }
  1. Instead of using static link, you can write dynamically by variables $scheme, $host, $uri;
  2. Following WordPress official Nginx Handbook and jamfire's example, variable $args should be preffered over $request_uri.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: IkotikI