23 lines
746 B
Plaintext
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;
|
|
}
|
|
} |