Browse Source

* set bigger client max body size for backend fpm socket

* try to use ${HOME} var instead of ansible user var for detecting home dir
master
dimti 2 months ago
parent
commit
74f9f3ef7a
  1. 1
      playbooks/debops/nginx.yml
  2. 2
      playbooks/own/yadm.yml

1
playbooks/debops/nginx.yml

@ -46,6 +46,7 @@
options: | options: |
try_files /index.html @october try_files /index.html @october
set $upstream unix:/run/{{ php__version_preference[0] }}-fpm-backend.sock set $upstream unix:/run/{{ php__version_preference[0] }}-fpm-backend.sock
client_max_body_size 1000M
options: try_files /index.html @october; options: try_files /index.html @october;
- pattern: '@october' - pattern: '@october'
options: rewrite ^/.*$ /index.php last; options: rewrite ^/.*$ /index.php last;

2
playbooks/own/yadm.yml

@ -9,6 +9,6 @@
become: false become: false
become_user: root become_user: root
shell: | shell: |
sed -i 's/#/\\$/g' /home/{{ home_user }}/.config/starship.toml
sed -i 's/#/\\$/g' ${HOME}/.config/starship.toml
args: args:
executable: /bin/bash executable: /bin/bash
Loading…
Cancel
Save