Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果出现图片不压缩的找index.php页面问题 #2

Open
liuyzai opened this issue Jun 14, 2019 · 0 comments
Open

如果出现图片不压缩的找index.php页面问题 #2

liuyzai opened this issue Jun 14, 2019 · 0 comments

Comments

@liuyzai
Copy link

liuyzai commented Jun 14, 2019

可能的原因是少安装了模块--add-module=../echo-nginx-module
正常是这样的
./configure --prefix=/usr/local/nginx
--sbin-path=/usr/local/nginx/sbin/nginx
--conf-path=/usr/local/nginx/conf/nginx.conf
--pid-path=/usr/local/nginx/pid/nginx.pid
--lock-path=/usr/local/nginx/pid/nginx.lock
--error-log-path=/usr/local/nginx/logs/error.log
--http-log-path=/usr/local/nginx/logs/access.log
--with-http_ssl_module
--with-http_realip_module
--with-http_sub_module
--with-http_flv_module
--with-http_dav_module
--with-http_gzip_static_module
--with-http_stub_status_module
--with-http_addition_module
--with-http_spdy_module
--with-pcre
--with-zlib=../zlib-1.2.8
--add-module=../nginx-http-concat
--add-module=../lua-nginx-module
--add-module=../ngx_devel_kit
--add-module=../echo-nginx-module
make -j4 &&make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant