storage url o'zgartirildi
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user