(Replying to the list this time..)
Andy said:
What happens if you put the wp-login stuff in a
<Location></Location> instead?
Ah ha, using Location in example.com.conf does work. Thank you!
And do it without .htaccess at first until you get it
working…
A quick test of trying it in .htaccess fails though:
[Sun Apr 15 09:47:20.453555 2018] [core:alert] [pid 1948:tid 3049253696]
[client xx.xx.xx.xx:49772] /home/exampleuser/public_html/.htaccess:
<Location not allowed here, referer:
https://example.com/webpage/
.. but I'm thinking that means that it's impossible for clients to
overwrite it if it's no longer in there :)
The basic point here I think is that if you are
proxying everything
then it's no longer a file so <Files> is never going to match.
Interestingly - in a 'argh' way - using Files doesn't work if I use
FilesMatch to call php-fpm either, even though this..
<https://ma.ttias.be/apache-2-4-proxypass-for-php-taking-precedence-over-filesfilesmatch-in-htaccess/>
.. reckons it should.
Ian