1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 05:58:14 +03:00
This commit is contained in:
Anton Afanasyeu
2026-05-27 16:44:50 +02:00
parent 92fc65e02e
commit 43f802de5d
19 changed files with 957 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
server {
listen 8080;
server_name _;
client_max_body_size 16m;
location = / {
return 302 /app/androidcast_project/;
}
location /app/androidcast_project/git/ {
return 302 http://localhost:8081/;
}
location /app/androidcast_project/crashes/ {
proxy_pass http://crashes-fe:8080;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /app/androidcast_project/ {
alias /workspace/examples/app_hub/;
index index.html;
try_files $uri $uri/ /app/androidcast_project/index.html;
}
}