Add some colours to the readme

This commit is contained in:
jvoisin 2018-12-09 19:00:33 +01:00
parent 3231047c14
commit 73fcba8e0f

View file

@ -37,7 +37,7 @@ Then:
Since uwsgi isn't fun to configure, feel free to slap this into your Since uwsgi isn't fun to configure, feel free to slap this into your
`/etc/uwsgi/apps-enabled/mat2-web.ini`: `/etc/uwsgi/apps-enabled/mat2-web.ini`:
``` ```ini
[uwsgi] [uwsgi]
module=main module=main
chdir = /var/www/mat2-web/ chdir = /var/www/mat2-web/
@ -60,12 +60,12 @@ plugins = python3
and this into your `/etc/nginx/site-enabled/mat2-web`: and this into your `/etc/nginx/site-enabled/mat2-web`:
``` ```nginx
location / { try_files $uri @yourapplication; } location / { try_files $uri @yourapplication; }
location @yourapplication { location @yourapplication {
include uwsgi_params; include uwsgi_params;
uwsgi_pass unix:/var/www/mat2-web/mat2-web.sock; uwsgi_pass unix:/var/www/mat2-web/mat2-web.sock;
} }
``` ```
It should now be working. It should now be working.