Project

General

Profile

Overview

Use to create multiple reverse proxies to origin servers using SSL and certificates.

Create jail container:

zfs create tank/jails/containers/nginx

Create jail then install nginx and nginx-acme:

pkg install nginx nginx-acme

Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
The following 14 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
gettext-runtime: 0.26 [FreeBSD-ports]
indexinfo: 0.3.1_1 [FreeBSD-ports]
libedit: 3.1.20251016_1,1 [FreeBSD-ports]
libffi: 3.5.1 [FreeBSD-ports]
llvm19: 19.1.7_1 [FreeBSD-ports]
lua53: 5.3.6_1 [FreeBSD-ports]
mpdecimal: 4.0.1 [FreeBSD-ports]
nginx: 1.28.0_10,3 [FreeBSD-ports]
nginx-acme: 0.1.1_6 [FreeBSD-ports]
pcre2: 10.47_1 [FreeBSD-ports]
perl5: 5.42.0_1 [FreeBSD-ports]
python311: 3.11.14_2 [FreeBSD-ports]
readline: 8.3.3 [FreeBSD-ports]
zstd: 1.5.7_1 [FreeBSD-ports]

Number of packages to be installed: 14

The process will require 2 GiB more space.
318 MiB to be downloaded.

Proceed with this action? [y/N]: y
[nginx] [ 1/14] Fetching indexinfo-0.3.1_1: 100% 6 KiB 5.9 k/s 00:01
[nginx] [ 2/14] Fetching nginx-1.28.0_10,3: 100% 568 KiB 582.0 k/s 00:01
[nginx] [ 3/14] Fetching mpdecimal-4.0.1: 100% 157 KiB 160.5 k/s 00:01
[nginx] [ 4/14] Fetching lua53-5.3.6_1: 100% 301 KiB 308.0 k/s 00:01
[nginx] [ 5/14] Fetching libedit-3.1.20251016_1,1: 100% 153 KiB 157.2 k/s 00:01
[nginx] [ 6/14] Fetching llvm19-19.1.7_1: 100% 271 MiB 9.2 M/s 00:31
[nginx] [ 7/14] Fetching perl5-5.42.0_1: 100% 16 MiB 8.3 M/s 00:02
[nginx] [ 8/14] Fetching nginx-acme-0.1.1_6: 100% 412 KiB 422.0 k/s 00:01
[nginx] [ 9/14] Fetching zstd-1.5.7_1: 100% 509 KiB 521.0 k/s 00:01
[nginx] [10/14] Fetching pcre2-10.47_1: 100% 1 MiB 1.5 M/s 00:01
[nginx] [11/14] Fetching libffi-3.5.1: 100% 46 KiB 47.3 k/s 00:01
[nginx] [12/14] Fetching readline-8.3.3: 100% 478 KiB 489.5 k/s 00:01
[nginx] [13/14] Fetching gettext-runtime-0.26: 100% 302 KiB 308.8 k/s 00:01
[nginx] [14/14] Fetching python311-3.11.14_2: 100% 27 MiB 9.4 M/s 00:03
Checking integrity... done (0 conflicting)
[nginx] [ 1/14] Installing indexinfo-0.3.1_1...
[nginx] [ 1/14] Extracting indexinfo-0.3.1_1: 100%
[nginx] [ 2/14] Installing gettext-runtime-0.26...
[nginx] [ 2/14] Extracting gettext-runtime-0.26: 100%
[nginx] [ 3/14] Installing libedit-3.1.20251016_1,1...
[nginx] [ 3/14] Extracting libedit-3.1.20251016_1,1: 100%
[nginx] [ 4/14] Installing libffi-3.5.1...
[nginx] [ 4/14] Extracting libffi-3.5.1: 100%
[nginx] [ 5/14] Installing lua53-5.3.6_1...
[nginx] [ 5/14] Extracting lua53-5.3.6_1: 100%
[nginx] [ 6/14] Installing mpdecimal-4.0.1...
[nginx] [ 6/14] Extracting mpdecimal-4.0.1: 100%
[nginx] [ 7/14] Installing pcre2-10.47_1...
[nginx] [ 7/14] Extracting pcre2-10.47_1: 100%
[nginx] [ 8/14] Installing nginx-1.28.0_10,3...
===> Creating groups
Using existing group 'www'
===> Creating users
Using existing user 'www'
[nginx] [ 8/14] Extracting nginx-1.28.0_10,3: 100%
[nginx] [ 9/14] Installing perl5-5.42.0_1...
[nginx] [ 9/14] Extracting perl5-5.42.0_1: 100%
[nginx] [10/14] Installing readline-8.3.3...
[nginx] [10/14] Extracting readline-8.3.3: 100%
[nginx] [11/14] Installing python311-3.11.14_2...
[nginx] [11/14] Extracting python311-3.11.14_2: 100%
[nginx] [12/14] Installing zstd-1.5.7_1...
[nginx] [12/14] Extracting zstd-1.5.7_1: 100%
[nginx] [13/14] Installing llvm19-19.1.7_1...
[nginx] [13/14] Extracting llvm19-19.1.7_1: 100%
[nginx] [14/14] Installing nginx-acme-0.1.1_6...
[nginx] [14/14] Extracting nginx-acme-0.1.1_6: 100%

Message from nginx-1.28.0_10,3:

--
Recent version of the NGINX introduces dynamic modules support. In
FreeBSD ports tree this feature was enabled by default with the DSO
knob. Several vendor's and third-party modules have been converted
to dynamic modules. Unset the DSO knob builds an NGINX without
dynamic modules support.

To load a module at runtime, include the new `load_module'
directive in the main context, specifying the path to the shared
object file for the module, enclosed in quotation marks. When you
reload the configuration or restart NGINX, the module is loaded in.
It is possible to specify a path relative to the source directory,
or a full path, please see
https://www.nginx.com/blog/dynamic-modules-nginx-1-9-11/ and
http://nginx.org/en/docs/ngx_core_module.html#load_module for
details.

Default path for the NGINX dynamic modules is

/usr/local/libexec/nginx.

Message from python311-3.11.14_2:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm databases/py-gdbm@py311
py311-sqlite3 databases/py-sqlite3@py311
py311-tkinter x11-toolkits/py-tkinter@py311

Issue tracking  Details

open closed Total
Bug 0 0 0
Feature 1 0 1
Support 0 0 0
Task 0 1 1

View all issues | Summary | Calendar | Gantt

Time tracking

  • Estimated time: 0:00 hour
  • Spent time: 0:00 hour

Details | Report