Configure nginx a reverse proxy https for IIS backend

Aleksandar Lazic al-nginx at none.at
Tue Apr 7 21:51:52 UTC 2020


Hi.

On 07.04.20 03:52, Johan Gabriel Medina Capois wrote:
> Hello everyone
> 
> We are noob on nginx and we are trying to configure a site that is in Windows IIS, we could configure the site with http:// but with https:// we can’t

What's in the nginx and IIS error log?

> IIS Backend server
> 
> 10.228.20.113 application running on port 80 and 443
> 
> Nginx reverse proxy
> 
> 10.228.20.99
> 
> Version 1.17.9 on ubuntu bionic
> 
> This is our config files
> 
> nginx.conf

[snipp]

> HTTP site config

[snipp]

> HTTPS site config
> 
> server {
> 
> listen 443;

This does not looks to a proper TLS/SSL setup.
http://nginx.org/en/docs/http/configuring_https_servers.html

> server_name dev-kronos.mardom.com;
> 
> location / {
> 
> proxy_pass https://10.228.20.113;
> 
> proxy_ssl_certificate /etc/nginx/certificados/dev-kronoscerts/cert.crt;
> 
> proxy_ssl_certificate_key /etc/nginx/certificados/dev-kronoscerts/key.rsa;
> 
> }
> 
> }
> 
> Could you help us please
> 
> Regards
> 
> Johan Medina
> Administrador de Sistemas e Infraestructura 	Logo
> Departamento: *TECNOLOGIA*
> Central Tel: 809-539-600 *Ext: 8139*
> Flota: *(809) 974-4954*
> Directo: *809 974-4954*
> Email: *jmedina at mardom.com*
> Web:*www.mardom.com <https:://www.mardom.com>*
> Facebook icon <https://www.facebook.com/maritimadelcaribe>Instagram icon <https://www.instagram.com/maritimadelcaribe>Linkedin icon <https://www.linkedin.com/company/maritima-dominicana-sas/?viewAsMember=true>Youtube icon
> Banner
> Sea amable con el medio ambiente: no imprima este correo a menos que sea completamente necesario.
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
> 



More information about the nginx mailing list