Optimizare scripturi build/CI si functionalitati noi Lot 2
- CI/CD GitLab (.gitlab-ci.yml): verify -> test -> build -> publish -> deploy cu health-gate (/api/v3/health/all) + rollback manual - Publicare pe retele sociale (LinkedIn/Facebook) din Analysis History (social.ts, linkedin.ts, facebook.ts, SocialPostModal) - Specificatii OpenAPI: agent-v3 (87 op.) si didi-framework (287 op.) - Matrice testare acceptanta beneficiar + script dovezi API - Fix nginx SSL: redirect port 3001 (error_page 497, absolute_redirect off) - Adrese interne inlocuite cu hostname-uri generice (.local)
This commit is contained in:
parent
8ecc78e729
commit
7e4f23d4c4
22 changed files with 19477 additions and 110 deletions
|
|
@ -1,12 +1,20 @@
|
|||
server {
|
||||
listen 443 ssl;
|
||||
server_name localhost 10.11.10.12;
|
||||
server_name localhost didi.local;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/server.crt;
|
||||
ssl_certificate_key /etc/nginx/ssl/server.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
|
||||
# Cererile HTTP simplu pe portul HTTPS (ex. utilizator tastează http://host:3001)
|
||||
# primesc redirect către https în loc de "400 Bad Request".
|
||||
error_page 497 =301 https://$http_host$request_uri;
|
||||
|
||||
# Redirecturi RELATIVE (ex. /admin → /admin/): altfel nginx pune portul intern
|
||||
# (443) în Location și se pierde :3001 din adresa publică → pagină inaccesibilă.
|
||||
absolute_redirect off;
|
||||
|
||||
# Global: allow large file uploads (video up to 100MB)
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
|
@ -173,7 +181,8 @@ server {
|
|||
# HTTP server (for Kong proxy + direct access)
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost 10.11.10.12;
|
||||
absolute_redirect off;
|
||||
server_name localhost didi.local;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue