diff --git a/playbooks/debops/nginx.yml b/playbooks/debops/nginx.yml index 054aa7e..6325f53 100644 --- a/playbooks/debops/nginx.yml +++ b/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;