* correct pass to backend fpm socket

This commit is contained in:
2024-07-22 07:46:53 +03:00
parent bbb84079df
commit 5a4ec54d3b

View File

@ -42,8 +42,10 @@
location_list:
- pattern: '/'
locations:
- pattern: '~ ^/*.-backend/'
options: 'set $upstream unix:/run/{{ php__version_preference[0] }}-fpm-backend.sock;'
- pattern: '~ ^/.*-backend/'
options: |
try_files /index.html @october
set $upstream unix:/run/{{ php__version_preference[0] }}-fpm-backend.sock
options: try_files /index.html @october;
- pattern: '@october'
options: rewrite ^/.*$ /index.php last;