This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
daeeb42
commit 903ab0b
Showing
2 changed files
with
91 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
## EKSIPROXY | ||
|
||
### DEMO | ||
|
||
- https://eksi.rojen.uk | ||
- https://eksiseyler.rojen.uk | ||
- https://cdneksi.rojen.uk, https://seylerekstat.rojen.uk, https://imgekstat.rojen.uk, https://ekstat.rojen.uk | ||
- Yukarıdaki proxyler için örnek NGINX dosyaları: | ||
https://ftp.rojen.uk/eksiproxy | ||
|
||
|
||
### GEREKSİNİMLER | ||
|
||
- NGINX Substitutions modülünü kendi sistemin için kurman gerekmekte: | ||
https://github.com/yaoweibin/ngx_http_substitutions_filter_module | ||
|
||
|
||
### KURULUM ADIMLARI | ||
|
||
- **etc/env.sh** dosyası içinde `DOMAIN` ve `PROXY_BIND` değerlerini kendine göre ayarla. | ||
|
||
- SSL anahtarlarını oluştur: | ||
|
||
```bash | ||
sudo make ssl | ||
``` | ||
|
||
- PP programını indir: | ||
|
||
```bash | ||
sudo make /usr/local/bin/pp | ||
``` | ||
|
||
- NGINX dosyalarını yarat: | ||
|
||
```bash | ||
make generate | ||
``` | ||
|
||
- Oluşturulan dosyaları sistemine indir (`NGINX_DIR` adresine indirilecek): | ||
|
||
```bash | ||
sudo make install | ||
``` | ||
|
||
- **/etc/nginx/nginx.conf** dosyasına proxy dizinini tanıtacak satırları ekle, | ||
<DOMAIN> **etc/env.sh**'de bulunan çevre değişkeniyle aynı olmalı: | ||
|
||
```nginx | ||
include /etc/nginx/<DOMAIN>/main.conf; | ||
include /etc/nginx/<DOMAIN>/service.conf; | ||
include /etc/nginx/<DOMAIN>/http.conf; | ||
``` | ||
|
||
- NGINX yapılandırmasını kontrol et ve NGINX servisini yeniden başlat: | ||
|
||
```bash | ||
sudo nginx -t && sudo systemctl restart nginx.service | ||
``` | ||
|
||
- Yerel kullanım için proxylere özel **/etc/hosts** dosyası oluştur (isteğe bağlı): | ||
|
||
```bash | ||
sudo make hosts >> /etc/hosts | ||
``` | ||
|
||
### ÖZEL AYARLAR | ||
|
||
Bu kurulumda YouTube, TikTok, Twitter gibi şeytani servisler özgür ön uç alternatifleri ile değiştirildi, ekleme yapmak veya devre dışı bırakmak için **etc/libre.txt** dosyasını düzenle. | ||
|
||
Bu kurulumda Google Reklamlar gibi şeytani servisler devre dışı bırakıldı, ekleme yapmak veya devre dışı bırakmak için **etc/blacklist.txt** dosyasını düzenle. | ||
|
||
|
||
### BAŞKA SİTELERİN PROXYLERİNİ OLUŞTURMAK İÇİN | ||
|
||
Bunun için **etc/env.sh**, **etc/config.conf** dosyalarına dokunman yeterli. | ||
|
||
**etc/config.conf** dosyası için kullanım şeması: | ||
|
||
```txt | ||
HEDEF SUNUCU PROXY SERVIS TIPI frame-ancestors | ||
cdn.eksisozluk1923.com cdneksi.${DOMAIN} service | ||
eksisozluk1923.com eksi.${DOMAIN} main | ||
seyler.ekstat.com seylerekstat.${DOMAIN} service | ||
img.ekstat.com imgekstat.${DOMAIN} service | ||
ekstat.com ekstat.${DOMAIN} service | ||
eksiseyler.com eksiseyler.${DOMAIN} main eksi.${DOMAIN} | ||
``` | ||
|
||
`service` tipini statik servisler için kullanabilir, `main` tipini ise dinamik servisler için kullanabilirsin. |