storage url o'zgartirildi
This commit is contained in:
@@ -9,14 +9,21 @@ server {
|
|||||||
root /quyoshli/public;
|
root /quyoshli/public;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
# Final MinIO proxy fix - ^~ is mandatory to override regex blocks
|
location = /quyoshli {
|
||||||
|
return 301 /quyoshli/;
|
||||||
|
}
|
||||||
|
|
||||||
|
# MinIO bucket public files. The ^~ prefix keeps image/css regex blocks from catching these URLs.
|
||||||
location ^~ /quyoshli/ {
|
location ^~ /quyoshli/ {
|
||||||
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $proxy_host;
|
proxy_set_header Host $proxy_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://quyoshli-minio:9100;
|
proxy_pass http://minio:9100;
|
||||||
|
proxy_request_buffering off;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
add_header X-Storage-Proxy minio always;
|
||||||
}
|
}
|
||||||
|
|
||||||
# try to serve file directly, fallback to start.php
|
# try to serve file directly, fallback to start.php
|
||||||
|
|||||||
Reference in New Issue
Block a user