feat: gitea workflow push repo in v2 if main and to staging if dev
Some checks failed
Deploy on Push / deploy (push) Failing after 4s
Some checks failed
Deploy on Push / deploy (push) Failing after 4s
This commit is contained in:
15
README.md
15
README.md
@@ -25,3 +25,18 @@ poetry env use .venv/bin/python3.12
|
||||
poetry update
|
||||
poetry run python main.py
|
||||
```
|
||||
### Интеграция в Core
|
||||
|
||||
Добавить в nginx.conf.sigil ссылку на /upload
|
||||
```
|
||||
# Custom location block for /upload
|
||||
location /connect/ {
|
||||
http://upload-8080/;
|
||||
{{ $proxy_settings }}
|
||||
{{ $gzip_settings }}
|
||||
{{ $cors_headers_options }}
|
||||
{{ $cors_headers_post }}
|
||||
{{ $cors_headers_get }}
|
||||
}
|
||||
```
|
||||
при такой структуре ссылка будет core.domain.com/upload
|
Reference in New Issue
Block a user