Files
HIS/nginx_user_conf.d/hospital.conf
m.imanpour c4a832897b
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
turning https
2025-12-10 01:38:10 +03:30

23 lines
746 B
Plaintext

server {
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;
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 $scheme;
}
}