mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-07-25 23:45:27 -04:00
Add some colours to the readme
This commit is contained in:
parent
3231047c14
commit
73fcba8e0f
1 changed files with 7 additions and 7 deletions
10
README.md
10
README.md
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue