deploy: prepare permanent HTTPS MetaBloom API
MetaBloom CI / app (push) Canceled after 0s
MetaBloom CI / api (push) Canceled after 0s

This commit is contained in:
AI Company
2026-07-21 22:40:40 +00:00
parent 7631caaa4e
commit c1f2848830
5 changed files with 25 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
# À intégrer au serveur OpenResty public après création du DNS et du certificat TLS.
server {
listen 443 ssl http2;
server_name api.metabloom.vicode.agency;
# Les directives ssl_certificate sont gérées par l'infrastructure existante.
location / {
proxy_pass http://127.0.0.1:8000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_connect_timeout 5s;
proxy_read_timeout 120s;
}
}