feat: gitea workflow with Uploader check is runing, plus in server.py is checker too

This commit is contained in:
Stepan Vladovskiy
2024-05-05 14:44:02 -03:00
parent 0d87d3d889
commit 89021ea018
5 changed files with 41 additions and 45 deletions

View File

@@ -64,6 +64,16 @@ server {
proxy_cache_lock on;
}
# Custom location block for /upload
location /connect/ {
http://upload-8080/;
{{ $proxy_settings }}
{{ $gzip_settings }}
{{ $cors_headers_options }}
{{ $cors_headers_post }}
{{ $cors_headers_get }}
}
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {
expires 30d; # This means that the client can cache these resources for 30 days.
add_header Cache-Control "public, no-transform";