# Ansible managed file - DO NOT MANUALLY EDIT # server { server_name {{ dashboard_hostname }}; root /usr/share/nginx/html; location / { proxy_pass http://127.0.0.1:3000/; proxy_set_header Host $host; } listen 443 ssl http2; ssl_certificate {{ dashboard_certificate_directory }}/{{ dashboard_hostname }}.pem; ssl_certificate_key {{ dashboard_certificate_directory }}/{{ dashboard_hostname }}.key; ssl_password_file {{ dashboard_certificate_directory }}/{{ dashboard_hostname }}.password; include /etc/nginx/ssl-options.conf; } server { if ($host = {{ dashboard_hostname }}) { return 301 https://$host$request_uri; } server_name {{ dashboard_hostname }}; listen 80; return 404; } # # EOF