-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from DrifterKaru/master
Add tor proxy and onion basic spider configurations
- Loading branch information
Showing
22 changed files
with
13,084 additions
and
19,961 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 |
---|---|---|
|
@@ -106,7 +106,7 @@ celerybeat.pid | |
*.sage.py | ||
|
||
# Environments | ||
.env | ||
*.env | ||
.venv | ||
env/ | ||
venv/ | ||
|
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
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
VUE_APP_FIREBASE_API_KEY = "<your-api-key>" | ||
VUE_APP_FIREBASE_AUTH_DOMAIN = "<your-auth-domain>" | ||
VUE_APP_FIREBASE_DB_DOMAIN= "<your-db-domain>" | ||
VUE_APP_FIREBASE_PROJECT_ID = "<your-project-id>" | ||
VUE_APP_FIREBASE_STORAGE_BUCKET = "<your-storage-bucket>" | ||
VUE_APP_FIREBASE_MESSAGING_SENDER_ID= "<your-messaging-sender-id>" | ||
VUE_APP_FIREBASE_APP_ID = "<your-app-id>" | ||
VUE_APP_FIREBASE_MEASURMENT_ID = "<your-measurementId>" | ||
VUE_APP_FIREBASE_API_KEY = "AIzaSyBz5zJU8nWCwpB4N60b1pyGyW88g5CdBpY" | ||
VUE_APP_FIREBASE_AUTH_DOMAIN = "crawlerx-e4a5d.firebaseapp.com" | ||
VUE_APP_FIREBASE_DB_DOMAIN= "https://crawlerx-e4a5d.firebaseapp.com" | ||
VUE_APP_FIREBASE_PROJECT_ID = "crawlerx-e4a5d" | ||
VUE_APP_FIREBASE_STORAGE_BUCKET = "crawlerx-e4a5d.appspot.com" | ||
VUE_APP_FIREBASE_MESSAGING_SENDER_ID= "352593421105" | ||
VUE_APP_FIREBASE_APP_ID = "1:352593421105:web:5b82330e1c74538a418610" | ||
VUE_APP_FIREBASE_MEASURMENT_ID = "" | ||
VUE_APP_DJANGO_PROTOCOL = "http" | ||
VUE_APP_DJANGO_HOSTNAME = "django" | ||
VUE_APP_DJANGO_PORT = "8000" |
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
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,28 @@ | ||
server { | ||
listen 8080; | ||
server_name _; | ||
server_tokens off; | ||
client_max_body_size 20M; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
try_files $uri $uri/ /index.html; | ||
} | ||
|
||
location /api { | ||
try_files $uri @proxy_api; | ||
} | ||
|
||
|
||
location @proxy_api { | ||
proxy_set_header X-Forwarded-Proto https; | ||
proxy_set_header X-Url-Scheme $scheme; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header Host $http_host; | ||
proxy_redirect off; | ||
proxy_pass http://backend:8000; | ||
} | ||
|
||
|
||
} |
Oops, something went wrong.