turning https
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user