ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Nginx questions

    Scheduled Pinned Locked Moved IT Discussion
    nginx
    25 Posts 5 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DonahueD
      Donahue
      last edited by

      also, Who is a good DNS provider? I am getting tired of waiting for them to respond.

      DashrenderD 1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender @Donahue
        last edited by

        @Donahue said in Nginx questions:

        also, Who is a good DNS provider? I am getting tired of waiting for them to respond.

        Cloudflare and it’s free

        1 Reply Last reply Reply Quote 2
        • DashrenderD
          Dashrender @Donahue
          last edited by

          @Donahue said in Nginx questions:

          telnet cannot connect via 443, but the firewall says it is enabled. I am trying the internal IP first.

          If you are trying internally what firewall is blocking you?

          Also why are you trying 443? SMTP is port 25.

          DashrenderD DonahueD 2 Replies Last reply Reply Quote 0
          • DashrenderD
            Dashrender @Dashrender
            last edited by

            @Dashrender said in Nginx questions:

            @Donahue said in Nginx questions:

            telnet cannot connect via 443, but the firewall says it is enabled. I am trying the internal IP first.

            If you are trying internally what firewall is blocking you?

            Also why are you trying 443? SMTP is port 25.

            Aww I see you’re testing https, not smtp

            1 Reply Last reply Reply Quote 0
            • DonahueD
              Donahue @Dashrender
              last edited by

              @Dashrender said in Nginx questions:

              @Donahue said in Nginx questions:

              telnet cannot connect via 443, but the firewall says it is enabled. I am trying the internal IP first.

              If you are trying internally what firewall is blocking you?

              Also why are you trying 443? SMTP is port 25.

              I turned off windows firewall and still cannot get through. I am trying to telnet 443 into my Nginx VM. The Nginx firewall says 443 is open.

              1 Reply Last reply Reply Quote 0
              • 1
                1337
                last edited by

                1. Use nmap to scan ports to see what is open/closed/blocked.
                1 Reply Last reply Reply Quote 1
                • DonahueD
                  Donahue
                  last edited by

                  Its working. My DNS updated and externally, its going to https. I am not sure why telnet was not working.

                  1 Reply Last reply Reply Quote 0
                  • DonahueD
                    Donahue
                    last edited by

                    I've still got a few loose ends though. I want to set my cert to auto renew, but I dont know quite what to do on this step:

                    @JaredBusch said in Install Nginx as a Reverse Proxy on Fedora 27:

                    Don't forget to automate the cert renew
                    Create a cron job to run the renew everyday. Certbot will not actually do anything if it does not see any certs needing renew within 30 days. So you can run this as often as you want. Cerbot themselves recommends running it twice a day with this.
                    Use crontab -e to edit your crontab.

                    0 0,12 * * * python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew 
                    

                    If I try and run crontab -e, it says:

                    [root@nginx ~]# crontab -e
                    -bash: crontab: command not found
                    
                    DonahueD 1 Reply Last reply Reply Quote 0
                    • DonahueD
                      Donahue
                      last edited by

                      I am also getting the following error on NC on my iPhone
                      ACC0055E-780D-4163-8ECF-67AB912D67A5.png

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Donahue
                        last edited by

                        @Donahue any chance you forget the https ?

                        DonahueD 1 Reply Last reply Reply Quote 0
                        • DonahueD
                          Donahue @scottalanmiller
                          last edited by

                          @scottalanmiller said in Nginx questions:

                          @Donahue any chance you forget the https ?

                          nope

                          1 Reply Last reply Reply Quote 0
                          • DonahueD
                            Donahue
                            last edited by

                            could this be a DNS propagation issue? like wait and see?

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @Donahue
                              last edited by

                              @Donahue said in Nginx questions:

                              could this be a DNS propagation issue? like wait and see?

                              No, because you are clearly seeing the right resolution of the hostname.

                              1 Reply Last reply Reply Quote 0
                              • DonahueD
                                Donahue @Donahue
                                last edited by

                                @Donahue said in Nginx questions:

                                I've still got a few loose ends though. I want to set my cert to auto renew, but I dont know quite what to do on this step:

                                @JaredBusch said in Install Nginx as a Reverse Proxy on Fedora 27:

                                Don't forget to automate the cert renew
                                Create a cron job to run the renew everyday. Certbot will not actually do anything if it does not see any certs needing renew within 30 days. So you can run this as often as you want. Cerbot themselves recommends running it twice a day with this.
                                Use crontab -e to edit your crontab.

                                0 0,12 * * * python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew 
                                

                                If I try and run crontab -e, it says:

                                [root@nginx ~]# crontab -e
                                -bash: crontab: command not found
                                

                                Ok, I think I got the cron job thing all figured out. I had to install cronie. One question though, I just pasted that into my cron file, and then saved. Is that all I need to do?

                                1 Reply Last reply Reply Quote 0
                                • DonahueD
                                  Donahue
                                  last edited by

                                  looks like the NC thing might be a bug with just iOS and using a reverse proxy
                                  https://github.com/nextcloud/server/issues/11464

                                  DonahueD 1 Reply Last reply Reply Quote 0
                                  • DonahueD
                                    Donahue @Donahue
                                    last edited by

                                    @Donahue said in Nginx questions:

                                    looks like the NC thing might be a bug with just iOS and using a reverse proxy
                                    https://github.com/nextcloud/server/issues/11464

                                    yep, the "old method" indeed did work.

                                    1 Reply Last reply Reply Quote 0
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      Last post