We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06a255a + f8c22f6 commit 3823d7aCopy full SHA for 3823d7a
virtual_feature.pl
@@ -255,6 +255,18 @@ sub feature_setup
255
&save_directive($server, "fastcgi_param",
256
[ map { { 'words' => $_ } } @params ]);
257
258
+ # Add .well-known location work with proxy enabled sites
259
+ my $wploc = { 'name' => 'location',
260
+ 'words' => [ '^~', '/.well-known/' ],
261
+ 'type' => 1,
262
+ 'members' => [
263
+ { 'name' => 'try_files',
264
+ 'words' => [ '$uri', '/' ],
265
+ },
266
+ ],
267
+ };
268
+ &save_directive($server, [ ], [ $wploc ]);
269
+
270
# Add location
271
my $ploc = { 'name' => 'location',
272
'words' => [ '~', '\.php(/|$)' ],
0 commit comments