From:                         Lucas Rolff <lu...@lucasrolff.com>
To:                            "nginx@nginx.org" <nginx@nginx.org>
Subject:                     Re: reverse proxy https not working
Date sent:                  Sun, 26 Aug 2018 08:19:28 +0000
Send reply to:             nginx@nginx.org

> Which functions do not work?
Thats a bit hard to say, but I'll try..

It's a print production system.
1 part is approval of pages in a job.

When I try to open a page for approval the system should open up the page in large size.
That does not happen.
The thumbnails on the side works.
And as stated, when I do the same thing when connected via http, there are no issues.

>  
> Be aware some software (WordPress being a good example) doesn’t always work with reverse
> proxies that easy.
The vendor recommended me to use a reverse proxy....

>  
> Could you possibly include your nginx configuration? Especially your proxy parts.

server {

  server_name portal.printlight.dk;

  client_max_body_size 1000m;  # (I tried with and without this line)

  error_log /etc/nginx/log warn;

  location / {

    proxy_pass  http://192.168.1.3:80/;

    proxy_set_header Host $host;

  }

    listen 80;
    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/portal.printlight.dk/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/portal.printlight.dk/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}


>  
> From: nginx <nginx-boun...@nginx.org> on behalf of "Jungersen, Danjel -
> Jungersen Grafisk ApS"<dan...@jungersen.dk>
> Organization: Jungersen Grafisk ApS
> Reply-To: "nginx@nginx.org" <nginx@nginx.org>
> Date: Sunday, 26 August 2018 at 10.13
> To: "nginx@nginx.org" <nginx@nginx.org>
> Subject: reverse proxy https not working
>  
> Hi there.
>  
> I have a setup that almost works.
> :-)
>  
> I have a handful of domains that works as they should.
> Traffic as accepted and forwarded to my apache on another server (also in dmz).
> I have setup certificates with certbot.
> I have green (encrypted) icon on my browser when I visit my sites.
>  
> 1 site is running on my green network.
> When I connect to that site all seems to work.
> However, certain functions fail, but only when connected via https.
> If I change the setup so that port 80 is not redirected to 443, everything works as long as I
> stay with http.
> As soon as I chenge the url to https:// some functions fail.
> I have tried but cannot understand the debug log.
>  
> I don't see any hits on my firewall.
>  
> Any clues?
> I will be happy to send config and logfiles, but I'm not sure exactly what to send.
>  
> Best regards
> Danjel
>   

  
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to