turning https
All checks were successful
Build and Deploy Angular App HIS / build (push) Successful in 44s
Build and Deploy Angular App HIS / deploy (push) Successful in 54s

This commit is contained in:
m.imanpour
2025-12-10 01:38:10 +03:30
parent 08c693bede
commit c4a832897b
3 changed files with 20 additions and 6 deletions

View File

@@ -1,7 +1,18 @@
server {
listen 80;
listen 443 ssl;
server_name hospital.networkwizard.xyz;
# Reference your mounted custom certs
ssl_certificate /etc/nginx/ssl/origin_cert.pem;
ssl_certificate_key /etc/nginx/ssl/origin_key.key;
# Recommended SSL settings for security
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
location / {
proxy_pass http://hospital-app:80;
proxy_set_header Host $host;