Skip to content

Commit

Permalink
move ownership of domain nakama.acc to app.acc
Browse files Browse the repository at this point in the history
  • Loading branch information
lil5 committed Oct 4, 2024
1 parent 3ad5a6f commit 8984f29
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/Caddyfile-acc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
}
:80 {
import hsts
import hsts
header X-Robots-Tag noindex

handle_path /api/* {
Expand All @@ -23,4 +23,16 @@
encode zstd gzip
try_files {path} /index.html
}
}

:81 {
@options {
method OPTIONS
}
respond @options 200
header Access-Control-Allow-Origin "app.acc.clothingloop.org"
header Access-Control-Allow-Methods "*"
header Access-Control-Allow-Headers "Content-Type, Origin, Authorization, X-Requested-With, Accept"

reverse_proxy acc_nakama:7350
}

0 comments on commit 8984f29

Please sign in to comment.