diff options
| author | jvoisin | 2018-12-24 13:50:18 +0100 |
|---|---|---|
| committer | jvoisin | 2018-12-24 13:50:18 +0100 |
| commit | 964d3683b5ba5e5fc2148764acf291b24b1d4a94 (patch) | |
| tree | a5f34503caabf7492c107d02d5f69fc90efdfef5 /README.md | |
| parent | cfeaef897eb5dc24b35f30fad9fa3bfd370bcf20 (diff) | |
Improve a bit the previous commit
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. |
