B
B
BonBon Slick2019-08-26 08:47:49
Python
BonBon Slick, 2019-08-26 08:47:49

Why is only homapge, landing, root server ip available when using SSL?

More detailed description
https://gist.github.com/rdnvndr/51ae8692bebcd02325...
5d63718265348638648372.png
As you can see from the screenshot, no other pgAdmin4 links work.

upstream pgadmin {
      server unix:///tmp/pgadmin.sock;
}

server {
        listen 80 http2;
        listen [::]:80 http2;
        server_name sub.test.tv;

        return 301 https://$host$request_uri;
}
server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;
        server_name sub.test.tv;

        include /etc/letsencrypt/options-ssl-nginx.conf;

        location / {
                include uwsgi_params;
                uwsgi_pass pgadmin;
        }
}

Only the page whose domain we indicated in server_name works with SSL.
Any other pages - no, the tab hangs.

Everything works without SSL, why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2019-08-26
@BonBonSlick

listen 80 http2;
        listen [::]:80 http2
; is how you imagine such http+http2? It's the same as a black fascist.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question