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?