|
|
@@ -1,8 +1,7 @@ |
|
|
|
You can setup the bench for production use by configuring two programs, Supervisor and nginx. If you want to revert your Production Setup to Development Setup refer to [these commands](https://github.com/frappe/bench/wiki/Stopping-Production-and-starting-Development) |
|
|
|
|
|
|
|
####Easy Production Setup |
|
|
|
These steps are automated if you pass `--setup-production` to the easy install script |
|
|
|
or run `sudo bench setup production` |
|
|
|
These steps are automated if you run `sudo bench setup production` |
|
|
|
|
|
|
|
|
|
|
|
####Manual Production Setup |
|
|
@@ -53,4 +52,4 @@ Note: When you restart nginx after the configuration change, it might fail if |
|
|
|
you have another configuration with server block as default for port 80 (in most |
|
|
|
cases for the nginx welcome page). You will have to disable this config. Most |
|
|
|
probable places for it to exist are `/etc/nginx/conf.d/default.conf` and |
|
|
|
`/etc/nginx/conf.d/default`. |
|
|
|
`/etc/nginx/conf.d/default`. |