Skip to content
Snippets Groups Projects
Verified Commit 80b4944d authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Zmena nastaveni CORS

parent 440c450d
No related branches found
No related tags found
No related merge requests found
Pipeline #173 passed
......@@ -44,6 +44,7 @@ upstream-url: ${UPSTREAM_URL}
tls-cert: /etc/gatekeeper/cert.pem
tls-private-key: /etc/gatekeeper/key.pem
enable-cors: true
cors-origins:
- '*'
cors-methods:
......@@ -55,6 +56,13 @@ cors-methods:
cors-headers:
- authorization
- content-type
- Cookie
- authorization
- content-type
- accept
- x-requested-with
- origin
- referer
resources:
${RESOURCES}
" > /etc/gatekeeper/gatekeeper.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment