mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-30 03:37:22 +07:00
Config seems ok
This commit is contained in:
1 parent
e00313bb36
commit
791832f6d1
5 files changed
+19
-7
No files matched your search
@@ -13,3 +13,14 @@
|
||||
- conf.d
|
||||
- sites-available
|
||||
- sites-enabled
|
||||
|
||||
- name: FILE | Follow Debian ;)
|
||||
file: >
|
||||
src="{{ nginx_etc_dir }}/fastcgi_params"
|
||||
dest="{{ nginx_etc_dir }}/fastcgi.conf"
|
||||
state=link
|
||||
|
||||
- name: COPY | Populate proxy_params
|
||||
copy: >
|
||||
content="proxy_set_header Host $http_host;\nproxy_set_header X-Real-IP $remote_addr;\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;"
|
||||
dest="{{ nginx_etc_dir }}/proxy_params"
|
||||
Reference in new issue
Block a user