Apache, how do I set up an agent?

how should I proxy the existing URL with the server nginx by setting .htaccess?

for example, apache port 80, nginx port 8080

I hope 127.0.0.0/xxx can represent 127.0.0.1:8080/xxx

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^xxx(.*)$ http://127.0.0.1:8080/xxx/$1 [P]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

it is found that this setting does not work. How should I configure it?

Mar.03,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36f7b-41098.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36f7b-41098.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?