ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Alex Sage
    3. Posts
    A
    • Profile
    • Following 8
    • Followers 2
    • Topics 374
    • Posts 3,641
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Vultr Storage Instances

      @wrx7m said in Vultr Storage Instances:

      I have had the same problem for months. @JaredBusch suggested spinning up a VC2 instance and then add block storage to it.

      FFS. No.

      0_1541633232405_93d11829-a74f-4f60-b017-1eba62c1c4cc-image.png

      posted in IT Discussion
      A
      Alex Sage
    • RE: NGINX Reverse Proxy with Mozilla SSL Conf

      @wirestyle22 Huh?

      posted in IT Discussion
      A
      Alex Sage
    • RE: NGINX Reverse Proxy with Mozilla SSL Conf

      https://github.com/aaronstuder/lxq/blob/master/wildcard.temp

      posted in IT Discussion
      A
      Alex Sage
    • RE: NGINX Reverse Proxy with Mozilla SSL Conf

      Got it!

      0_1541553753187_d4c1fbf4-50c2-4c75-a912-648ab38aaaab-image.png

      .conf coming soon!

      posted in IT Discussion
      A
      Alex Sage
    • RE: NGINX Reverse Proxy with Mozilla SSL Conf

      This is what I came up with. Going to make dinner, but I'll be back soon to test it 🙂

      server {
          listen 80 default_server;
          listen [::]:80 default_server;
          server_name sub.domain.com;
      
          # Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
          return 301 https://$host$request_uri;
      }
      
      server {
          listen 443 ssl http2;
          listen [::]:443 ssl http2;
          server_name sub.domain.com;
      
          location / {
                      proxy_set_header X-Real-IP $remote_addr;
                      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                      proxy_set_header Host $http_host;
                      proxy_set_header X-NginX-Proxy true;
                      proxy_pass http://<IP_ADDRESS>:<PORT>;
                      proxy_redirect off;
              }
      
          # certs sent to the client in SERVER HELLO are concatenated in ssl_certificate
          ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem;
          ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem;
          ssl_session_timeout 1d;
          ssl_session_cache shared:SSL:50m;
          ssl_session_tickets off;
      
      
          # modern configuration. tweak to your needs.
          ssl_protocols TLSv1.2;
          ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
          ssl_prefer_server_ciphers on;
      
          # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
          add_header Strict-Transport-Security max-age=15768000;
      
          # OCSP Stapling ---
          # fetch OCSP records from URL in ssl_certificate and cache them
          ssl_stapling on;
          ssl_stapling_verify on;
      
          ## verify chain of trust of OCSP response using Root CA and Intermediate certs
          ssl_trusted_certificate /etc/letsencrypt/live/domain.com/chain.pem;
      
          resolver 1.1.1.1;
      
      }
      
      posted in IT Discussion
      A
      Alex Sage
    • RE: Episode 15 of Nerd Journey Now Available

      I have been enjoying your podcast! I'll be listening on the ride home tonight! 🙂

      posted in Self Promotion
      A
      Alex Sage
    • RE: NGINX Reverse Proxy with Mozilla SSL Conf
       server {
           listen 80 default_server;
           listen [::]:80 default_server;
       
           # Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
           return 301 https://$host$request_uri;
       }
       
       server {
           listen 443 ssl http2;
           listen [::]:443 ssl http2;
      

      How do I change this to listen for subdomain.domain.com?

      Also, where do I add in the location lines?

       location / {
                      proxy_set_header X-Real-IP $remote_addr;
                      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                      proxy_set_header Host $http_host;
                      proxy_set_header X-NginX-Proxy true;
                      proxy_pass http://<IP_ADDRESS>:<PORT>;
                      proxy_redirect off;
              }
      
      posted in IT Discussion
      A
      Alex Sage
    • RE: NGINX Reverse Proxy with Mozilla SSL Conf

      I'll have to try it again soon, and provide more details.

      posted in IT Discussion
      A
      Alex Sage
    • RE: NGINX Reverse Proxy with Mozilla SSL Conf

      @black3dynamite when I tried to merge together my existing .conf with this I kept getting errors. Hoping someone here with more nginx experience can help 🙂

      posted in IT Discussion
      A
      Alex Sage
    • RE: NGINX Reverse Proxy with Mozilla SSL Conf

      Certificates will be from let's encrypt of course 🙂

      posted in IT Discussion
      A
      Alex Sage
    • NGINX Reverse Proxy with Mozilla SSL Conf

      I am trying to get a working .conf for a NGINX Reverse Proxy using the Mozilla SSL Configuration Generator, but it keeps getting me issues.

      Anyone ever done this before?

      Here is the NGINX Modern example:

      server {
          listen 80 default_server;
          listen [::]:80 default_server;
      
          # Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
          return 301 https://$host$request_uri;
      }
      
      server {
          listen 443 ssl http2;
          listen [::]:443 ssl http2;
      
          # certs sent to the client in SERVER HELLO are concatenated in ssl_certificate
          ssl_certificate /path/to/signed_cert_plus_intermediates;
          ssl_certificate_key /path/to/private_key;
          ssl_session_timeout 1d;
          ssl_session_cache shared:SSL:50m;
          ssl_session_tickets off;
      
      
          # modern configuration. tweak to your needs.
          ssl_protocols TLSv1.2;
          ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
          ssl_prefer_server_ciphers on;
      
          # HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
          add_header Strict-Transport-Security max-age=15768000;
      
          # OCSP Stapling ---
          # fetch OCSP records from URL in ssl_certificate and cache them
          ssl_stapling on;
          ssl_stapling_verify on;
      
          ## verify chain of trust of OCSP response using Root CA and Intermediate certs
          ssl_trusted_certificate /path/to/root_CA_cert_plus_intermediates;
      
          resolver <IP DNS resolver>;
      
          ....
      }
      

      https://mozilla.github.io/server-side-tls/ssl-config-generator/

      posted in IT Discussion
      A
      Alex Sage
    • RE: UBNT: UniFi Controller Issue

      @gjacobse said in UBNT: UniFi Controller Issue:

      @dbeato said in UBNT: UniFi Controller Issue:

      @gjacobse said in UBNT: UniFi Controller Issue:

      @jmoore said in UBNT: UniFi Controller Issue:

      @gjacobse Did you enable the service to make sure it restarts on its own?

      In theory yes. but it doesn't seem to be working. And the Fedora commands I find are more than a year old

      Wait,you have Unifi on Fedora?

      Yes -

      Why?

      https://help.ubnt.com/hc/en-us/articles/115009221227-UniFi-Recommended-Minimum-System-Requirements

      Fedora isn't supported.

      posted in IT Discussion
      A
      Alex Sage
    • RE: Vultr Instance options growing

      How can you be sold out of Windows?

      0_1541469819516_54438dc1-b95a-4406-a24b-7c883e6f623c-image.png

      posted in IT Discussion
      A
      Alex Sage
    • RE: BookStack Organization

      BookStack is now supported on LXQ for easy deployment

      posted in IT Discussion
      A
      Alex Sage
    • RE: BookStack Organization

      @black3dynamite said in BookStack Organization:

      This is what @JaredBusch is doing.
      https://mangolassi.it/topic/16482/bookstack-for-it-documentation/3

      0_1541438399049_5e2d5b55-ec5d-45f2-aee1-f2d8ace8a930-image.png

      Bookshelves have now been added as a new layer to the organisation system. Has this changed this layout at all @JaredBusch?

      posted in IT Discussion
      A
      Alex Sage
    • RE: Visual Studio Code - Git Integration

      @Obsolesce Thanks! 🙂

      posted in IT Discussion
      A
      Alex Sage
    • RE: Visual Studio Code - Git Integration

      Also, I didn't realize you can run the terminal right from VS code. That's sweet! 🙂

      posted in IT Discussion
      A
      Alex Sage
    • RE: Visual Studio Code - Git Integration

      @dbeato said in Visual Studio Code - Git Integration:

      Much of my Commits, push, pull, checkouts are done manually on the terminal
      0_1541435481272_2c855503-5ca9-4e67-aded-998256eeee34-image.png

      Yeah, I can do that as well, I was just wondering if you can set it up to press a button to push, pull, etc.

      posted in IT Discussion
      A
      Alex Sage
    • 1 / 1