mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-10 18:02:55 +00:00
no message
This commit is contained in:
parent
8ffe64ad8e
commit
a562bfdb08
@ -96,7 +96,7 @@ services:
|
||||
appstore:
|
||||
container_name: "dootask-appstore-${APP_ID}"
|
||||
privileged: true
|
||||
image: "dootask/appstore:0.2.1"
|
||||
image: "dootask/appstore:0.2.2"
|
||||
volumes:
|
||||
- shared_data:/usr/share/dootask
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
@ -35,13 +35,13 @@ server {
|
||||
add_header Access-Control-Expose-Headers "Date, Last-Modified, Age" always;
|
||||
|
||||
location / {
|
||||
if ($uri ~* ^/uploads/.*\.(jpe?g|png|gif|webp)$) {
|
||||
add_header Access-Control-Allow-Origin "http://localhost:2222" always;
|
||||
if ($uri ~* "^/uploads/.*\.(jpe?g|png|gif|webp)$") {
|
||||
add_header Access-Control-Allow-Origin "http://localhost:22223" always;
|
||||
add_header Access-Control-Allow-Methods "GET, OPTIONS" always;
|
||||
add_header Access-Control-Allow-Headers "DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization" always;
|
||||
add_header Access-Control-Allow-Credentials "true" always;
|
||||
}
|
||||
|
||||
|
||||
try_files $uri @laravels;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user