Browse Source

* correct pass to backend fpm socket

master
dimti 5 months ago
parent
commit
5a4ec54d3b
  1. 6
      playbooks/debops/nginx.yml

6
playbooks/debops/nginx.yml

@ -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;

Loading…
Cancel
Save