1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 08:57:44 +03:00
Files
android_cast/orchestration/nginx/crashes-fe.conf
Anton Afanasyeu 43f802de5d snap
2026-05-27 16:44:50 +02:00

36 lines
1.0 KiB
Plaintext

server {
listen 8080;
server_name _;
client_max_body_size 16m;
index index.php;
location = / {
return 302 /app/androidcast_project/crashes/;
}
location /app/androidcast_project/crashes/ {
alias /workspace/examples/crash_reporter/backend/public/;
index index.php;
try_files $uri $uri/ @crashes_front;
}
location @crashes_front {
rewrite ^ /app/androidcast_project/crashes/index.php?$query_string last;
}
location ~ ^/app/androidcast_project/crashes/(.+\.php)$ {
alias /workspace/examples/crash_reporter/backend/public/$1;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /workspace/examples/crash_reporter/backend/public/$1;
fastcgi_param SCRIPT_NAME /app/androidcast_project/crashes/$1;
fastcgi_param DOCUMENT_ROOT /workspace/examples/crash_reporter/backend/public;
fastcgi_pass crash-php:9000;
fastcgi_read_timeout 120s;
}
location ~ /\. {
deny all;
}
}