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

    Nginx setup

    IT Discussion
    5
    16
    1.0k
    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.
    • S
      smartkid808 @scottalanmiller
      last edited by

      @scottalanmiller said in Nginx setup:

      Not possible. But as long as links are https you have nothing to worry about and I think all browser default to https now when not specified.

      Thats cool.. Did not know that. That would prob work. It's really only going to be me 99% of the time accessing stuff.

      Is it pretty easy for a newb to setup nginx?

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

        @smartkid808 said in Nginx setup:

        Is it pretty easy for a newb to setup nginx?

        Depends, if you are copying configs, yes. If you are trying to customize, no. It's a solid "medium" on the difficulty level. Not hard, for sure, but it's not a set and forget kind of thing. There are multiple settings and lots of ways to break it. Once you have a working config, copying it to do again is pretty easy.

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

          But a good skill to have, Nginx reverse proxies are crazy useful.

          thwrT 1 Reply Last reply Reply Quote 1
          • S
            smartkid808
            last edited by

            @scottalanmiller said in Nginx setup:

            Depends, if you are copying configs, yes. If you are trying to customize, no. It's a solid "medium" on the difficulty level. Not hard, for sure, but it's not a set and forget kind of thing. There are multiple settings and lots of ways to break it. Once you have a working config, copying it to do again is pretty easy.

            Copying configs? I'll have to look more into it.. Interesting. Kind of scary on the "medium level" lol

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

              @scottalanmiller said in Nginx setup:

              I think all browser default to https now when not specified.

              I think not. I'm not even sure Chrome does it.

              But 99.9% of all sites redirect http to https so for normal users it's invisible. Also search engines default to showing https results.

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

                @Pete-S said in Nginx setup:

                I think not. I'm not even sure Chrome does it.

                You are correct.

                1 Reply Last reply Reply Quote 2
                • thwrT
                  thwr @scottalanmiller
                  last edited by

                  @scottalanmiller said in Nginx setup:

                  But a good skill to have, Nginx reverse proxies are crazy useful.

                  I prefer nginx over everything else when it comes to reverse proxies. There are special purpose proxies like Traefik, but nginx is the ultimate general purpose swiss army knife.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    smartkid808 @thwr
                    last edited by

                    @thwr said in Nginx setup:

                    I prefer nginx over everything else when it comes to reverse proxies. There are special purpose proxies like Traefik, but nginx is the ultimate general purpose swiss army knife.

                    Nice. That's what I gathered from what I read. Now to work on getting it setup. Tried once a while ago and gave up. Now to try again ^_^

                    thwrT JaredBuschJ 2 Replies Last reply Reply Quote 0
                    • thwrT
                      thwr @smartkid808
                      last edited by thwr

                      @smartkid808 said in Nginx setup:

                      @thwr said in Nginx setup:

                      I prefer nginx over everything else when it comes to reverse proxies. There are special purpose proxies like Traefik, but nginx is the ultimate general purpose swiss army knife.

                      Nice. That's what I gathered from what I read. Now to work on getting it setup. Tried once a while ago and gave up. Now to try again ^_^

                      You could do something like this:

                      1. Install lighttpd (or something else), create a simple static page, let it listen to some random port (10080, 55555, ...). This will be your "backend server"
                      2. Install nginx, let it listen to port 8080 (or something else), let it connect to Lighttpd's port as a reverse proxy.

                      Next step would be to use nginx as terminating SSL proxy, which means that you can connect to nginx using SSL, but nginx uses an unecrypted connection to the backend webserver (lighttpd). A more advanced configuration would use SSL on the backend server too.

                      I guess that you can't use Let's Encrypt certificates for your tests, because your ISP blocks port 80. Let's encrypt verifies sites by connecting to port 80. However, you may use DNS validation, but that's an advanced topic.

                      1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @smartkid808
                        last edited by

                        @smartkid808 said in Nginx setup:

                        @thwr said in Nginx setup:

                        I prefer nginx over everything else when it comes to reverse proxies. There are special purpose proxies like Traefik, but nginx is the ultimate general purpose swiss army knife.

                        Nice. That's what I gathered from what I read. Now to work on getting it setup. Tried once a while ago and gave up. Now to try again ^_^

                        https://www.mangolassi.it/topic/16651/install-nginx-as-a-reverse-proxy-on-fedora-27

                        S 1 Reply Last reply Reply Quote 2
                        • S
                          smartkid808 @JaredBusch
                          last edited by

                          @JaredBusch

                          @JaredBusch said in Nginx setup:

                          @smartkid808 said in Nginx setup:

                          @thwr said in Nginx setup:

                          I prefer nginx over everything else when it comes to reverse proxies. There are special purpose proxies like Traefik, but nginx is the ultimate general purpose swiss army knife.

                          Nice. That's what I gathered from what I read. Now to work on getting it setup. Tried once a while ago and gave up. Now to try again ^_^

                          https://www.mangolassi.it/topic/16651/install-nginx-as-a-reverse-proxy-on-fedora-27

                          @JaredBusch said in Nginx setup:

                          @smartkid808 said in Nginx setup:

                          @thwr said in Nginx setup:

                          I prefer nginx over everything else when it comes to reverse proxies. There are special purpose proxies like Traefik, but nginx is the ultimate general purpose swiss army knife.

                          Nice. That's what I gathered from what I read. Now to work on getting it setup. Tried once a while ago and gave up. Now to try again ^_^

                          https://www.mangolassi.it/topic/16651/install-nginx-as-a-reverse-proxy-on-fedora-27

                          Thanks Jared, I'll take a look at that.. I'll follow your CentOS7 steps in the link. Hopefully I can figure out the conf file. Looks confusing. My brain hasn't been really working lately. lol

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