diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -66,7 +66,7 @@ location @yourapplication { | |||
| 66 | } | 66 | } |
| 67 | ``` | 67 | ``` |
| 68 | 68 | ||
| 69 | If you prefer to use Apache: | 69 | Nginx is the recommended web engine, but you can also use Apache if you prefer: |
| 70 | 70 | ||
| 71 | ``` | 71 | ``` |
| 72 | apt install apache2 libapache2-mod-proxy-uwsgi | 72 | apt install apache2 libapache2-mod-proxy-uwsgi |
| @@ -79,10 +79,11 @@ ProxyPass / unix:/var/www/mat2-web/mat2-web.sock|uwsgi://localhost/ | |||
| 79 | 79 | ||
| 80 | ``` | 80 | ``` |
| 81 | 81 | ||
| 82 | Now restart your webserver (nginx or apache) and uswgi | 82 | Finally, restart `uwsgi` and your web server: |
| 83 | |||
| 83 | ``` | 84 | ``` |
| 84 | systemctl restart uwsgi | 85 | systemctl restart uwsgi |
| 85 | systemctl restart nginx | 86 | systemctl restart nginx/apache/… |
| 86 | ``` | 87 | ``` |
| 87 | 88 | ||
| 88 | It should now be working. | 89 | It should now be working. |
