Skip to content

Commit 4dfe514

Browse files
committed
update FreeBSD installation (from ports)
- signed-off-by: trimstray <trimstray@gmail.com>
1 parent d73e1e5 commit 4dfe514

File tree

1 file changed

+31
-7
lines changed

1 file changed

+31
-7
lines changed

doc/HELPERS.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3290,10 +3290,7 @@ make install
32903290
# If you want to remove parameters from the options file:
32913291
make rmconfig
32923292
3293-
# Before these tasks create backup of your current NGINX config:
3294-
# - tar czvfp /usr/backup/nginx.tgz /usr/local/etc/nginx
3295-
3296-
# If you want to recompile NGINX from ports:
3293+
# If you want to recompile OpenSSL from ports:
32973294
# - edit options file manually
32983295
make clean
32993296
make reinstall # make deinstall install
@@ -3302,9 +3299,6 @@ make config
33023299
make clean
33033300
make reinstall # make deinstall install
33043301
3305-
# To disable vulnerabilities (not recommend!)
3306-
make DISABLE_VULNERABILITIES=yes reinstall
3307-
33083302
# To use/link openssl* port from your system (world):
33093303
if [[ ! $(grep -q "DEFAULT_VERSIONS+=ssl=openssl111" /etc/make.conf) ]] ; then
33103304
@@ -3444,6 +3438,12 @@ Go to the main NGINX port directory:
34443438
cd /usr/ports/www/nginx
34453439
```
34463440
3441+
Before these tasks create backup of your current NGINX config:
3442+
3443+
```bash
3444+
tar czvfp /usr/backup/nginx.tgz /usr/local/etc/nginx
3445+
```
3446+
34473447
Parameters:
34483448
34493449
```bash
@@ -3575,6 +3575,30 @@ make install
35753575
make clean
35763576
```
35773577
3578+
If you want to remove parameters from the options file:
3579+
3580+
```bash
3581+
make rmconfig
3582+
```
3583+
3584+
If you want to recompile NGINX from ports:
3585+
3586+
```bash
3587+
# - edit options file manually
3588+
make clean
3589+
make reinstall # make deinstall install
3590+
# - remove options file (see above command)
3591+
make config
3592+
make clean
3593+
make reinstall # make deinstall install
3594+
```
3595+
3596+
To disable vulnerabilities (not recommend!):
3597+
3598+
```bash
3599+
make DISABLE_VULNERABILITIES=yes reinstall
3600+
```
3601+
35783602
###### Post installation tasks
35793603
35803604
Include the necessary error pages:

0 commit comments

Comments
 (0)