cuber / ngx_http_google_filter_module

Nginx Module for Google Mirror
BSD 2-Clause "Simplified" License
3.35k stars 777 forks source link

撸了一个简易的一键脚本 #154

Open xJogger opened 5 years ago

xJogger commented 5 years ago

如题,不知道发到这里合不合适。 适合Debian/Ubuntu,详情:https://pastebin.com/prFL382E 脚本解决了OpenSSL版本高装不上Nginx 1.7.8的问题。 但是没有自动配置SSL的部分,需要自己撸SSL证书。

wjkhappy14 commented 5 years ago

good

fudanglp commented 5 years ago

gcc7会报错

src/core/ngx_murmurhash.c: In function ‘ngx_murmur_hash2’:
src/core/ngx_murmurhash.c:37:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
         h ^= data[2] << 16;
         ~~^~~~~~~~~~~~~~~~

降为gcc5解决