Proxy https to https
January 13, 2021 04:27PM
Hey everyone,

This is a bit of an odd situation that I'm trying to work around. My wife and I work at the same university but for different studies in different departments. My wife has a website hosted at but she wanted a cleaner looking URL so she purchased Then she asked the sysadmin for her study to setup a virtual host but he won't do it. This guy has a history of refusing to change things and she's been back and forth with him for days now. I'm trying to help out by using one of my servers to reverse proxy but it looks like I have to have the SSL certificate for instead of I've tried a few different options but I think I've misunderstood them. This is what I have so far.

server {

return 301 https://$host$request_uri;

server {
listen ssl http2;

ssl_certificate /etc/ssl/;
ssl_certificate_key /etc/ssl/;

location / {

I've tried proxy_ssl_verify off; and proxy_ssl_name; but again, I don't think I've understood these options correctly and I'm not seeing any topics that cover this particular use case. The problem is that the browser is requesting and, while the nginx server I control has the SSL certificate for, the SSL certificate from is what is ultimately presented to the browser. Is there any way to have the cert be the only SSL cert used for validation without access to the server that hosts the site?


Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready