diff options
| author | jvoisin | 2018-12-09 19:00:33 +0100 |
|---|---|---|
| committer | jvoisin | 2018-12-09 19:00:33 +0100 |
| commit | 73fcba8e0f43eb3e6d658db6a6e9986eba594ea1 (patch) | |
| tree | 92af024212fb0d24775e6766f3fc9f5fea991039 /README.md | |
| parent | 3231047c1475c9e500a0e5f92ea129fccef8dd28 (diff) | |
Add some colours to the readme
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -37,7 +37,7 @@ Then: | |||
| 37 | Since uwsgi isn't fun to configure, feel free to slap this into your | 37 | Since uwsgi isn't fun to configure, feel free to slap this into your |
| 38 | `/etc/uwsgi/apps-enabled/mat2-web.ini`: | 38 | `/etc/uwsgi/apps-enabled/mat2-web.ini`: |
| 39 | 39 | ||
| 40 | ``` | 40 | ```ini |
| 41 | [uwsgi] | 41 | [uwsgi] |
| 42 | module=main | 42 | module=main |
| 43 | chdir = /var/www/mat2-web/ | 43 | chdir = /var/www/mat2-web/ |
| @@ -60,12 +60,12 @@ plugins = python3 | |||
| 60 | 60 | ||
| 61 | and this into your `/etc/nginx/site-enabled/mat2-web`: | 61 | and this into your `/etc/nginx/site-enabled/mat2-web`: |
| 62 | 62 | ||
| 63 | ``` | 63 | ```nginx |
| 64 | location / { try_files $uri @yourapplication; } | 64 | location / { try_files $uri @yourapplication; } |
| 65 | location @yourapplication { | 65 | location @yourapplication { |
| 66 | include uwsgi_params; | 66 | include uwsgi_params; |
| 67 | uwsgi_pass unix:/var/www/mat2-web/mat2-web.sock; | 67 | uwsgi_pass unix:/var/www/mat2-web/mat2-web.sock; |
| 68 | } | 68 | } |
| 69 | ``` | 69 | ``` |
| 70 | 70 | ||
| 71 | It should now be working. | 71 | It should now be working. |
