Welcome! Log In Create A New Profile

Advanced

Re: Proxy pass and SSL certificates

All files from this thread

File Name File Size   Posted by Date  
ssl-params.conf 747 bytes open | download Mephysto On Hell 05/04/2018 Read message
cloud.diakont.it.conf 143 bytes open | download Mephysto On Hell 05/04/2018 Read message
Mephysto On Hell
May 09, 2018 05:52AM
Hello Goce,
but with this configuration, can I disable SSL in target Nginx?

Thanks in advance.

Meph

On 8 May 2018 at 09:34, Joncheski <nginx-forum@forum.nginx.org> wrote:

> Hello Meph,
>
> In configuration file "cloud.diakont.it.conf":
> - "ssl_certificate" please set path of only public certificate of server
> (cloud.diakont.it), and in "ssl_certificate_key" please set path of only
> private key of server (cloud.diakont.it).
>
> In configuration file "ssl-params.conff":
> - The certificates that you use for the server and for the client, from
> whom
> are they issued and signed? If you are from your publisher and signer,
> these
> parameters will be removed: ssl_ecdh_curve, ssl_stapling, add_header
> X-Frame-Options DENY; add_header X-Content-Type-Options nosniff;
>
> Change parameter: resolver_timeout 10s.
>
> In nginx config:
> - Add this argument:
> proxy_ssl_verify on;
> proxy_ssl_verify_depth 2;
> proxy_ssl_session_reuse on;
> proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
> proxy_ssl_trusted_certificate <PATH-OF-ROOT-CA-CERTIFICATE>;
> - And in location / like this:
> location / {
> proxy_set_header X-Real-IP
> $remote_addr;
> proxy_set_header X-Forwarded-Proto
> $scheme;
> proxy_set_header X-Forwarded-For
> $proxy_add_x_forwarded_for;
> proxy_set_header Upgrade
> $http_upgrade;
> proxy_set_header Connection
> 'upgrade';
> proxy_set_header Host $host;
> proxy_pass https://cloud_ssl/;
> }
>
> And check the configuration file (nginx -t).
> After this, please send me more access and error log for this.
>
>
> Best regards,
> Goce Joncheski
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,279665,279710#msg-279710
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Proxy pass and SSL certificates

Mephysto On Hell May 03, 2018 04:32AM

Re: Proxy pass and SSL certificates

Joncheski May 04, 2018 07:34AM

Re: Proxy pass and SSL certificates Attachments

Mephysto On Hell May 04, 2018 08:34AM

Re: Proxy pass and SSL certificates

Joncheski May 08, 2018 03:34AM

Re: Proxy pass and SSL certificates

Mephysto On Hell May 09, 2018 05:52AM

Re: Proxy pass and SSL certificates

Joncheski May 10, 2018 04:11AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 180
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready