storage url o'zgartirildi

This commit is contained in:
2026-04-28 15:02:06 +05:00
parent 3aa4601229
commit bb733d14c1
37 changed files with 282 additions and 407 deletions

View File

@@ -9,11 +9,13 @@ server {
root /quyoshli/public;
index index.php;
# MinIO bucket proxy — serves files over HTTPS
location /quyoshli/ {
proxy_pass http://quyoshli-minio:9100/quyoshli/;
proxy_set_header Host $host;
# Final MinIO proxy fix - ^~ is mandatory to override regex blocks
location ^~ /quyoshli/ {
proxy_set_header Host $proxy_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;
proxy_pass http://quyoshli-minio:9100;
proxy_buffering off;
}
@@ -22,10 +24,6 @@ server {
try_files $uri /$uri /index.php$is_args$args;
}
if (!-e $request_filename) {
rewrite ^.*$ /index.php last;
}
location ~ \.php$ {
fastcgi_pass quyoshli:9000;
fastcgi_index index.php;