原文出處: https://www.hexianwei.com/2019/07/10/jrebel%E6%BF%80%E6%B4%BB/
jrebel 激活 update 2019 姨涡。每次都去網(wǎng)上找激活碼畦戒,找過(guò)來(lái)找過(guò)去就是那幾個(gè)夹供,有時(shí)候還失效逝段。允悲 /苦瓜臉
參考:JRebel 2018.1使用反代失敗解決 and 擼了個(gè)反代工具, 可用于激活JRebel 颊糜。自己可以參考搭建一個(gè)嗅剖!
友情提示:http://xxx.com 的網(wǎng)站別點(diǎn)范删。千萬(wàn)別點(diǎn)8贰E肌!
結(jié)果
- 獲取激活碼
https://tools.hexianwei.com/#/tools/jrebel
直接在頁(yè)面點(diǎn)擊 獲取激活碼简逮。
獲取激活碼
- 激活
jrebel激活步驟
步驟
參考上面的兩篇博客球散。我們知道 url 的格式為: http://{url}/{uuid}
- 配置反向代理
反向代理設(shè)置
所以:我們配置 nginx 的反向代理。
server {
listen 443 ssl;
server_name jrebel.hexianwei.com;
ssl on;
ssl_certificate /etc/nginx/ssl/fullchain.cer;
ssl_certificate_key /etc/nginx/ssl/hexianwei.key;
ssl_session_timeout 5m;
location / {
proxy_pass http://idea.lanyus.com:80;
}
}
server{
listen 80;
server_name jrebel.hexianwei.com;
return 301 https://jrebel.hexianwei.com$request_uri;
}
- 返回 url + uuid 的 url
public String getJrebelLicense() {
String uuid = UUID.randomUUID().toString();
return jrebelUrl + uuid;
}
- 頁(yè)面請(qǐng)求散庶,展示