Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ The following variables are available to configure the role:
(cf. http://wiki.nginx.org/HttpFlvStreamModule), defaults to false.
- **nginx_drupal_mp4_streaming**: Whether or not to use MP4 streaming, (cf.
http://nginx.org/en/docs/http/ngx_http_mp4_module.html) defaults to false.
- **nginx_drupal_user**: User running Nginx, defaults to 'www-data'
- **nginx_drupal_http_pre_includes**: A list of file to include in the
```http``` context (in ```nginx.conf```), before any other directives.
- **nginx_drupal_http_post_includes**: A list of file to include in the
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ nginx_drupal_upload_progress: true
nginx_drupal_aio: true
nginx_drupal_flv_streaming: false
nginx_drupal_mp4_streaming: false
nginx_drupal_user: "www-data"
nginx_drupal_http_core:
client_max_body_size: "10m"
ssl_session_cache: true
Expand Down
3 changes: 2 additions & 1 deletion templates/nginx.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
## {{ ansible_managed }}
## Git ref: 81aa86d03f80e8f97d433cb541f63ee292531658
user www-data;
user {{nginx_drupal_user}};


## If you're using an Nginx version below 1.3.8 or 1.2. then uncomment
## the line below and set it to the number of cores of the
Expand Down