Skip to content

Instantly share code, notes, and snippets.

@MiguelTVMS
Created April 8, 2017 15:57
Show Gist options
  • Save MiguelTVMS/8e28d5c4ef35fda643ded87bedb13ad7 to your computer and use it in GitHub Desktop.
Save MiguelTVMS/8e28d5c4ef35fda643ded87bedb13ad7 to your computer and use it in GitHub Desktop.
Rodando NG_PageSpeed & Nginx utilizando Docker - Código 4
# Compilando o Nginx
WORKDIR "/usr/nginx_source/nginx-$NGINX_VERSION/"
RUN ./configure \
--add-module=/usr/nginx_source/ngx_pagespeed-latest-stable \
--add-module=/usr/nginx_source/ngx_http_substitutions_filter_module-$SUBS_VERSION
RUN make
RUN make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment