server { listen 8006 ssl http2; listen [::]:8006 ssl http2; access_log /var/log/nginx/gnuhealth.access.log; error_log /var/log/nginx/gnuhealth.error.log; root /srv/gnuhealth/sao; try_files $uri @app; location @app { proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header X-Forwarded-Proto https; proxy_set_header Host $http_host; proxy_set_header Proxy ""; proxy_redirect off; proxy_buffering off; proxy_read_timeout 90; proxy_connect_timeout 90; proxy_pass http://127.0.0.1:8097; } }