fixxess
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ services:
|
||||
SESSION_SECRET: "${SESSION_SECRET:-docker-compose-session-secret-change-me}"
|
||||
COOKIE_SECURE: "${COOKIE_SECURE:-false}"
|
||||
STORAGE_ENDPOINT: "minio:9000"
|
||||
STORAGE_PUBLIC_ENDPOINT: ""
|
||||
STORAGE_PUBLIC_ENDPOINT: "${STORAGE_PUBLIC_ENDPOINT}"
|
||||
STORAGE_ACCESS_KEY: "${STORAGE_ACCESS_KEY:-minioadmin}"
|
||||
STORAGE_SECRET_KEY: "${STORAGE_SECRET_KEY:-minioadmin}"
|
||||
STORAGE_BUCKET: "${STORAGE_BUCKET:-gallery-media}"
|
||||
|
||||
@@ -27,3 +27,16 @@ server {
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name ~^media\.;
|
||||
|
||||
location / {
|
||||
proxy_pass http://sndit-minio:9000;
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user