mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-07-03 02:27:10 -04:00
Improve a bit the previous commit
This commit is contained in:
parent
cfeaef897e
commit
964d3683b5
1 changed files with 4 additions and 3 deletions
|
@ -66,7 +66,7 @@ location @yourapplication {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
If you prefer to use Apache:
|
Nginx is the recommended web engine, but you can also use Apache if you prefer:
|
||||||
|
|
||||||
```
|
```
|
||||||
apt install apache2 libapache2-mod-proxy-uwsgi
|
apt install apache2 libapache2-mod-proxy-uwsgi
|
||||||
|
@ -79,10 +79,11 @@ ProxyPass / unix:/var/www/mat2-web/mat2-web.sock|uwsgi://localhost/
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now restart your webserver (nginx or apache) and uswgi
|
Finally, restart `uwsgi` and your web server:
|
||||||
|
|
||||||
```
|
```
|
||||||
systemctl restart uwsgi
|
systemctl restart uwsgi
|
||||||
systemctl restart nginx
|
systemctl restart nginx/apache/…
|
||||||
```
|
```
|
||||||
|
|
||||||
It should now be working.
|
It should now be working.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue