add module to basic nginx config
This commit is contained in:
parent
70f6e446eb
commit
9ae5118da4
2 changed files with 6 additions and 1 deletions
|
|
@ -2,6 +2,8 @@ user www-data;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
pid /run/nginx.pid;
|
pid /run/nginx.pid;
|
||||||
|
|
||||||
|
load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
use epoll;
|
use epoll;
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,10 @@
|
||||||
var: nginx
|
var: nginx
|
||||||
|
|
||||||
- name: install nginx
|
- name: install nginx
|
||||||
apt: pkg=nginx
|
apt:
|
||||||
|
pkg:
|
||||||
|
- nginx
|
||||||
|
- libnginx-mod-http-headers-more-filter
|
||||||
notify:
|
notify:
|
||||||
- delete nginx index.nginx-debian.html
|
- delete nginx index.nginx-debian.html
|
||||||
- restart nginx
|
- restart nginx
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue