events {} http { server { listen 443 ssl; server_name shiloh_automatisch.local; ssl_certificate /etc/nginx/certs/shiloh_automatisch.local.crt; ssl_certificate_key /etc/nginx/certs/shiloh_automatisch.local.key; location / { proxy_pass http://main:7757; 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; } } }