Project structure: conf/http-directives.conf

Note

This file is rendered as a template. Refer to Conf files templating for more details.

Any extra nginx directives that can go into the ‘http’ section of the gateway can be mentioned here. For example, the below snippet is added by default.

gzip               on;
gzip_http_version  1.1;
gzip_min_length    1024;
gzip_types         text/plain text/css text/javascript application/json application/x-javascript application/javascript text/xml application/xml application/xml+rss;
gzip_proxied       any;
gzip_disable       msie6;
gzip_comp_level    1;

You can find the default file at conf/http-directives.conf in the base repo.