* correct pass to backend fpm socket
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user