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

    Install Nginx as a Reverse Proxy on Fedora 27

    IT Discussion
    nginx fedora certbot fedora 27 reverse proxy guides real instructions how to
    16
    107
    23.7k
    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.
    • JaredBuschJ
      JaredBusch @Alex Sage
      last edited by

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

      Here is the command if you want a wildcard cert:

      sudo certbot  -i nginx -d "*.aaronstuder.com" -d aaronstuder.com --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns
      

      Wildcard form LE is useless until you automate the DNS challenge.

      A 1 Reply Last reply Reply Quote 0
      • A
        Alex Sage @JaredBusch
        last edited by Alex Sage

        @jaredbusch It's coming. Right now it just pauses and you update DNS manually, or you can use acme.sh

        1 Reply Last reply Reply Quote 0
        • EddieJenningsE
          EddieJennings
          last edited by

          If you're using one reverse proxy to serve traffic to more than one server, do you typically put all of the configurations in one file, or have a main configuration file, and use include to reference other files? Methinks the way to go is just have one file with server blocks for however many servers you need.

          black3dynamiteB 1 Reply Last reply Reply Quote 0
          • black3dynamiteB
            black3dynamite @EddieJennings
            last edited by

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

            If you're using one reverse proxy to serve traffic to more than one server, do you typically put all of the configurations in one file, or have a main configuration file, and use include to reference other files? Methinks the way to go is just have one file with server blocks for however many servers you need.

            Using separate config is more easier to manage.

            1 Reply Last reply Reply Quote 1
            • bbigfordB
              bbigford
              last edited by bbigford

              "Install nano because I prefer it over vi"

              Nano really should just be the standard at this point, IMO.

              JaredBuschJ 1 Reply Last reply Reply Quote 2
              • JaredBuschJ
                JaredBusch @bbigford
                last edited by

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

                "Install nano because I prefer it over vi"

                Nano really should just be the standard at this point, IMO.

                I worded it like that to appease people like @scottalanmiller to prevent some stupid commentary about unneeded packages

                coliverC 1 Reply Last reply Reply Quote 6
                • coliverC
                  coliver @JaredBusch
                  last edited by

                  @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                  JaredBuschJ 1 Reply Last reply Reply Quote 6
                  • JaredBuschJ
                    JaredBusch @coliver
                    last edited by

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

                    @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                    Pretty much exactly

                    stacksofplatesS 1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates @JaredBusch
                      last edited by

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

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

                      @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                      Pretty much exactly

                      I can't make fun. I prefer Vim. I've tried to use nano and I felt clunky. But to each their own. Just don't use emacs :upside-down_face:

                      coliverC 1 Reply Last reply Reply Quote 1
                      • coliverC
                        coliver @stacksofplates
                        last edited by

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

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

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

                        @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                        Pretty much exactly

                        I can't make fun. I prefer Vim. I've tried to use nano and I felt clunky. But to each their own. Just don't use emacs :upside-down_face:

                        I use vi/vim almost exclusively. I just enjoy poking fun at the people who are evangelical about it.

                        travisdh1T 1 Reply Last reply Reply Quote 1
                        • travisdh1T
                          travisdh1 @coliver
                          last edited by

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

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

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

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

                          @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                          Pretty much exactly

                          I can't make fun. I prefer Vim. I've tried to use nano and I felt clunky. But to each their own. Just don't use emacs :upside-down_face:

                          I use vi/vim almost exclusively. I just enjoy poking fun at the people who are evangelical about it.

                          Given a choice, nano. I'm good with vi/vim as well tho, IRIX really required competency with it.

                          ObsolesceO 1 Reply Last reply Reply Quote 0
                          • ObsolesceO
                            Obsolesce @travisdh1
                            last edited by

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

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

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

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

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

                            @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                            Pretty much exactly

                            I can't make fun. I prefer Vim. I've tried to use nano and I felt clunky. But to each their own. Just don't use emacs :upside-down_face:

                            I use vi/vim almost exclusively. I just enjoy poking fun at the people who are evangelical about it.

                            Given a choice, nano. I'm good with vi/vim as well tho, IRIX really required competency with it.

                            Nano is annoying, inconvenient, and much less efficient than using vim. I have no idea anymore why I used nano before, I strictly use vim now, and my life on Linux has never been better.

                            travisdh1T 1 Reply Last reply Reply Quote 0
                            • ObsolesceO
                              Obsolesce
                              last edited by

                              Everything you do in Nano can be done faster and more conveniently in Vim... that's been my personal experience for a while now.

                              1 Reply Last reply Reply Quote 0
                              • travisdh1T
                                travisdh1 @Obsolesce
                                last edited by

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

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

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

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

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

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

                                @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                                Pretty much exactly

                                I can't make fun. I prefer Vim. I've tried to use nano and I felt clunky. But to each their own. Just don't use emacs :upside-down_face:

                                I use vi/vim almost exclusively. I just enjoy poking fun at the people who are evangelical about it.

                                Given a choice, nano. I'm good with vi/vim as well tho, IRIX really required competency with it.

                                Nano is annoying, inconvenient, and much less efficient than using vim. I have no idea anymore why I used nano before, I strictly use vim now, and my life on Linux has never been better.

                                Learn to use the Ctrl key, you know, that new key that was added to keyboards, but vim never got around to using 😜

                                ObsolesceO 1 Reply Last reply Reply Quote 1
                                • ObsolesceO
                                  Obsolesce @travisdh1
                                  last edited by Obsolesce

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

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

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

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

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

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

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

                                  @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                                  Pretty much exactly

                                  I can't make fun. I prefer Vim. I've tried to use nano and I felt clunky. But to each their own. Just don't use emacs :upside-down_face:

                                  I use vi/vim almost exclusively. I just enjoy poking fun at the people who are evangelical about it.

                                  Given a choice, nano. I'm good with vi/vim as well tho, IRIX really required competency with it.

                                  Nano is annoying, inconvenient, and much less efficient than using vim. I have no idea anymore why I used nano before, I strictly use vim now, and my life on Linux has never been better.

                                  Learn to use the Ctrl key, you know, that new key that was added to keyboards, but vim never got around to using 😜

                                  It's not needed... but does make use of the Ctrl key for a few things.

                                  Easy example... In Nano, to save and close a file is a hassle. In Vim, Shift+ZZ, done. Quick and easy!

                                  Want to find something? Open your file with Vim, hit / and type what you want to find, hit enter... super easy! It's dumb in Nano.

                                  travisdh1T momurdaM 2 Replies Last reply Reply Quote 0
                                  • travisdh1T
                                    travisdh1 @Obsolesce
                                    last edited by

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

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

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

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

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

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

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

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

                                    @jaredbusch 0_1524226298968_a9d48ad2-c13d-440c-94c5-a6951b5f6887-image.png

                                    Pretty much exactly

                                    I can't make fun. I prefer Vim. I've tried to use nano and I felt clunky. But to each their own. Just don't use emacs :upside-down_face:

                                    I use vi/vim almost exclusively. I just enjoy poking fun at the people who are evangelical about it.

                                    Given a choice, nano. I'm good with vi/vim as well tho, IRIX really required competency with it.

                                    Nano is annoying, inconvenient, and much less efficient than using vim. I have no idea anymore why I used nano before, I strictly use vim now, and my life on Linux has never been better.

                                    Learn to use the Ctrl key, you know, that new key that was added to keyboards, but vim never got around to using 😜

                                    It's not needed... but does make use of the Ctrl key for a few things.

                                    Easy example... In Nano, to save and close a file is a hassle. In Vim, Shift+ZZ, done. Quick and easy!

                                    Want to find something? Open your file with Vim, hit / and type what you want to find, hit enter... super easy! It's dumb in Nano.

                                    Shall we not get into yet another useless holy way over text editors? You're faster and more efficient in vi, I'm faster and more efficient in nano. At least your not trying to talk me into using emacs!

                                    1 Reply Last reply Reply Quote 2
                                    • momurdaM
                                      momurda @Obsolesce
                                      last edited by momurda

                                      @tim_g Ctrl+X, Y to save a file. quicker than in vi/vim.
                                      I can actually edit lines and insert text and cut and paste intuitively in nano, unlike vi which requires you to memorize the insert function to just add a simple word or two. Then you have to escape the insert function, then you have to remember what unnatural keyboard combo is to do something else.
                                      CtrlW to find. Super simple, unlike vi/vim.

                                      ObsolesceO scottalanmillerS 2 Replies Last reply Reply Quote 1
                                      • ObsolesceO
                                        Obsolesce @momurda
                                        last edited by Obsolesce

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

                                        @tim_g Ctrl+X, Y to save a file. quicker than in vi/vim.
                                        I can actually edit lines and insert text and cut and paste intuitively in nano, unlike vi which requires you to memorize the insert function to just add a simple word or two. Then you have to escape the insert function, then you have to remember what unnatural keyboard combo is to do something else.
                                        CtrlW to find. Super simple, unlike vi/vim.

                                        CtrlW to go into another menu and find what you want is weird. I'd rather just type /whatever and hit enter.

                                        If you want to insert text from clipboard, you go to where you want to insert something, and (rather intuitively), hit the i button, because insert starts with "i", then paste it in like normal. In Fedora terminal windows anyways, it's ctrl+shift+v to paste. To exit insertion mode, it's the esc key... also rather intuitive, because escape.

                                        Want to remove some lines? Just hit dd, and the line you're on goes away... hold it in to remove lots of lines. Or hit a number first then dd, and it removes that many lines (20dd removes the next 20 lines). It's all so simple, but I can see the complexity of it if you have no idea about it.

                                        It's the whole oh I never used it before and don't know what to do because i don't have a GUI to show me.

                                        Remove the GUI from Nano, and you're in the same boat... how the hell is Ctrl+W intuitive to "find" text? Less intuitive than to simply /TextToLookFor and hit enter.

                                        Copy and paste is easy too... it uses y to copy (for "yank") and p for paste.
                                        But you can do it by highlighting something (if in a gui terminal for example with your mouse) and ctrl+shift+c / v to copy and paste as well.

                                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                                        • EddieJenningsE
                                          EddieJennings
                                          last edited by

                                          So about that nginx reverse proxy...

                                          :face_with_stuck-out_tongue:

                                          1 Reply Last reply Reply Quote 2
                                          • JaredBuschJ
                                            JaredBusch @Obsolesce
                                            last edited by

                                            @tim_g STFU already. No one fucking cares.

                                            Also get the fuck over yourself already.

                                            ObsolesceO 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 2 / 6
                                            • First post
                                              Last post