https://github.com/dafvid/amplify-freebsd-install
Less invasive install script for nginx amplify
https://github.com/dafvid/amplify-freebsd-install
amplify freebsd nginx
Last synced: about 1 month ago
JSON representation
Less invasive install script for nginx amplify
- Host: GitHub
- URL: https://github.com/dafvid/amplify-freebsd-install
- Owner: dafvid
- Created: 2019-06-04T16:16:47.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-05T17:02:13.000Z (about 7 years ago)
- Last Synced: 2025-08-04T20:30:00.674Z (11 months ago)
- Topics: amplify, freebsd, nginx
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
Less invasive install script for [NGINX amplify](https://amplify.nginx.com)
```sh
pkg install py27-virtualenv
python2 -m virtualenv /path/to/virtualenv --system-site-packages
```
Add `/path/to/virtualenv` to amplify-freebsd-install.sh
`env API_KEY='yourapikey' sh ./amplify-freebsd-install.sh`
If you get an error on `cryptography` check your version of setuptools so it's > 39.6.0.
Otherwise update with `pkg install py27-setuptools`
The `SyntaxError: invalid syntax` message can safely be ignored
Add the `amplify` rc script to `/usr/local/etc/rc.d`
Add to `nginx.conf` in `server`
```
location /nginx_status {
stub_status on;
allow 127.0.0.1;
deny all;
}
```
Start with `service amplify start`
Further reading https://amplify.nginx.com/docs/guide-introduction.html