nginx.conf.j2 298 B

1234567891011121314
  1. server {
  2. listen 80;
  3. listen [::]:80;
  4. gzip on;
  5. server_name {{ inventory_hostname }};
  6. root {{ app_deploy_target }};
  7. client_max_body_size 16M;
  8. index index.html;
  9. charset utf-8;
  10. access_log off;
  11. error_log /var/log/nginx/{{ inventory_hostname }}.error.log warn;
  12. }