Giter Site home page Giter Site logo

How to enable SSL? about pia-back HOT 5 CLOSED

oleksandr-zh avatar oleksandr-zh commented on July 17, 2024
How to enable SSL?

from pia-back.

Comments (5)

brunto avatar brunto commented on July 17, 2024

Hello @oleksandr-zh you must set the root line to /var/www/pia-back/public

from pia-back.

oleksandr-zh avatar oleksandr-zh commented on July 17, 2024

Hello. Thank @brunto. But I see start page only
image

on port 80 I have a fully functional application. I want the same for 443

from pia-back.

brunto avatar brunto commented on July 17, 2024

Your nginx configuration probably needs to be corrected.
You can also try Certbot to generate the certificate.

from pia-back.

oleksandr-zh avatar oleksandr-zh commented on July 17, 2024

When i generate a certificate via Certbot (certbot --nginx -d Mydomain.com) It just adds in /etc/nginx/sites-available/default :
################
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/ Mydomain.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/ Mydomain.com/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
##############
The app still doesn't work via 443 port

from pia-back.

brunto avatar brunto commented on July 17, 2024

Ok, so for that kind of problem, it's more related to a Nginx configuration than the PIA tool.
But we can do a quick meeting to help you. You can contact us at [email protected] to book it.

from pia-back.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.