$ 0 0 I think you should change proxy_pass value from https://myapp1; to myapp1; and add ssl on; parameter server section.