debug: no force optins and simpl regexp logic
All checks were successful
Deploy on push / deploy (push) Successful in 59s
All checks were successful
Deploy on push / deploy (push) Successful in 59s
This commit is contained in:
parent
113d4807b2
commit
a218d1309b
|
@ -33,4 +33,3 @@ jobs:
|
|||
force: true
|
||||
git_remote_url: 'ssh://dokku@v2.discours.io:22/core'
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
git_push_flags: '--force'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
log_format custom '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'status=$status allow_origin=$allow_origin '
|
||||
'origin=$http_origin status=$status allow_origin=$allow_origin '
|
||||
'"$http_referer" "$http_user_agent"';
|
||||
|
||||
{{ $proxy_settings := "proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_set_header Host $http_host; proxy_set_header X-Request-Start $msec;" }}
|
||||
|
@ -12,7 +12,7 @@ log_format custom '$remote_addr - $remote_user [$time_local] "$request" '
|
|||
map $http_origin $allow_origin {
|
||||
~^https?:\/\/(.*\.)?localhost(:\d+)?$ $http_origin;
|
||||
~^https?:\/\/(.*\.)?discours\.io$ $http_origin;
|
||||
~^https?:\/\/(.*\.)?dscrs\.site(:\d+)?$ $http_origin;
|
||||
~^https?:\/\/(.*\.)?dscrs\.site$ $http_origin;
|
||||
~^https?:\/\/discoursio-webapp(-.*)?\.vercel\.app$ $http_origin;
|
||||
default "";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user