There is a proxy server with this configuration, it is necessary that from 443 we have a request for 3000 port on which node.js:

server { # IP, который мы будем слушать listen 443 ssl; server_name site.ru; keepalive_timeout 60; ssl_certificate адрес_до_сертификата/site.ru.crt; ssl_certificate_key адрес_до_сертификата/site.ru.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers "HIGH:!RC4:!aNULL:!MD5:!kEDH"; add_header Strict-Transport-Security 'max-age=604800'; location / { # IP и порт, на которых висит node.js proxy_pass http://127.0.0.1:3000; } } 

When clicking on the link https://site.ru knocks error 403, what could be the problem and how to solve it?

Error 403

  • So what does proxy and nginx have to do with it? You have an application on the 3000'nom port answered 403. What do you have there running? What is in his logs? - D-side
  • @ D-side, Disabled node.js is now on port 3000, the error is the same, and what logs should I watch? - Artem
  • one
    Means, something else on the same nginx answers you. See his other configs. - D-side
  • @ D-side, responsible vestacp - Artem 4:05 pm
  • But what is the problem? - Artem

0