Update 2 files

- /default.conf
- /.gitlab-ci.yml
This commit is contained in:
Mikhail 2023-05-11 16:10:17 +00:00
parent bd8e417cdc
commit ba70532928
2 changed files with 3 additions and 2 deletions

@ -19,7 +19,7 @@ clear-old-images:
entrypoint: [""] entrypoint: [""]
before_script: before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker images - docker image ls
script: script:
- docker system prune -af - docker system prune -af
build-app: build-app:

@ -39,9 +39,10 @@ server {
} }
location /heruvym/ { location /heruvym/ {
#add_header Access-Control-Allow-Origin $http_origin always; add_header Access-Control-Allow-Origin $http_origin always;
add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type,authorization always; add_header Access-Control-Allow-Headers content-type,authorization always;
add_header Access-Control-Allow-Methods OPTINOS, GET, POST, PATCH, PUT, DELETE;
proxy_set_header Referer $host; proxy_set_header Referer $host;
proxy_set_header Origin $http_origin; proxy_set_header Origin $http_origin;
proxy_set_header Connection ''; proxy_set_header Connection '';