File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 408408</tmpl_if>
409409<tmpl_if name='use_tcp'>
410410 #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ fcgi://127.0.0.1:<tmpl_var name='fpm_port'><tmpl_var name='web_document_root'>/$1
411+ <Directory {tmpl_var name='web_document_root_www'}>
412+ <FilesMatch "\.php[345]?$">
413+ <If "-f '%{REQUEST_FILENAME}'">
414+ SetHandler "proxy:fcgi://127.0.0.1:<tmpl_var name='fpm_port'>"
415+ </If>
416+ </FilesMatch>
417+ </Directory>
411418 <Directory {tmpl_var name='web_document_root'}>
412419 <FilesMatch "\.php[345]?$">
413420 <If "-f '%{REQUEST_FILENAME}'">
418425</tmpl_if>
419426<tmpl_if name='use_socket'>
420427 #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix://<tmpl_var name='fpm_socket'>|fcgi://localhost/<tmpl_var name='web_document_root'>/$1
428+ <Directory {tmpl_var name='web_document_root_www'}>
429+ <FilesMatch "\.php[345]?$">
430+ <If "-f '%{REQUEST_FILENAME}'">
431+ SetHandler "proxy:unix:<tmpl_var name='fpm_socket'>|fcgi://localhost"
432+ </If>
433+ </FilesMatch>
434+ </Directory>
421435 <Directory {tmpl_var name='web_document_root'}>
422436 <FilesMatch "\.php[345]?$">
423437 <If "-f '%{REQUEST_FILENAME}'">
You can’t perform that action at this time.
0 commit comments