I don't know if this works, but it looks promising. https://risaksson.com/post/9/2022-05-10/HTTP3-with-NGINX Edby edflecko - How to...
I stumbled upon a script to install Nginx and it didn't quite work. I tweaked a couple of things and it seems to work just fine now. I tested this on a vanilla install of Ubuntu 22.04 LTS. I hope it helps you. Ed # I found this script was found at: https://tinyurl.com/tr7de9km #!/bin/bash LATESTNGINX="1.25.1" BUILDROOT="/tmp/boring-nginx" # Pre-reqby edflecko - How to...
On my Ubuntu 22.04 system, here's how I did it. Both the un-tarred Nginx folder and the ModSecurity folders are in the root of my /opt directory. 1.) Download the latest Nginx cd /opt && sudo wget https://nginx.org/download/nginx-1.25.0.tar.gz 2.) sudo tar -xvzf nginx-1.25.0.tar.gz 3.) cd /opt && sudo git clone https://github.com/SpiderLabs/ModSecurity 4.) cd Modby edflecko - How to...
I have compiled Nginx from source and installed it on an Ubuntu 22.04 virtual machine. I have assigned multiple IP addresses to the virtual machine NIC - 192.168.1.180-185. To bypass the need for DNS, I have added the following entries to my local hosts file: 127.0.0.1 alpine.com 127.0.0.1 www.alpine.com 127.0.0.1 contoso.com 127.0.0.1 www.contoso.com 127.0.0.1 northwind.comby edflecko - How to...
Thank you for all of your input! Ed On Thu, Oct 13, 2022 at 5:54 PM PGNet Dev <pgnet.dev@gmail.com> wrote: > > My primary driving reason for considering the deployment of Nginx from > source is to use ModSecurity WAF with Nginx. I'm under the impression that > it's much easier to use ModSecurity with Nginx when compiled from source. > > If ModSecurity is the issue ... &gby edflecko - Nginx Mailing List - English
My primary driving reason for considering the deployment of Nginx from source is to use ModSecurity WAF with Nginx. I'm under the impression that it's much easier to use ModSecurity with Nginx when compiled from source. My only goal of installing patches would simply be to keep the install up to date from a security and/or stability perspective. Finally, in part this install would be a goal of mby edflecko - Nginx Mailing List - English
Thank you both for your replies. While my server would be a production environment, it would only consist of the single Ubuntu server and the single instance of Nginx that would be running no more than 10-12 websites. The server is virtual, so any needed changes would be scheduled and the server would be "snapshotted" so if any changes break Nginx, the server would be easily rolled backby edflecko - Nginx Mailing List - English
Thank you for your reply! I should have mentioned that I'm running in an Ubuntu environment so I'm not sure if that makes much difference? I like the idea of installing from source because I can control all of the options, but I'm wondering if it's worth going that route in a production environment? Thoughts? Opinions? Ed On Thu, Oct 13, 2022 at 3:49 PM PGNet Dev <pgnet.dev@gmail.com> wrby edflecko - Nginx Mailing List - English
I'm curious how many people run Nginx in a production environment that was installed from source and not a package. For those people who are running Nginx in this manner, how do you keep Nginx patched when patches are released? How do you upgrade your existing Nginx in your production environment while minimizing downtime? Thank you, Ed _______________________________________________ nginx mailby edflecko - Nginx Mailing List - English
What directory and file permissions do you recommend for a basic website? At some point, I will be adding additional websites as subdirectories of the /etc/nginx/html path. I'm installing Nginx 1.18.0 from source of a CentOS server. My configure looks like: ./configure --prefix=/etc/nginx --modules-path=/etc/nginx/modules --user=nginx --group=nginx --with-http_ssl_module --with-http_stub_by edflecko - How to...