Config webserver
This commit is contained in:
parent
4a37050ea4
commit
85a94ae5f9
|
@ -75,6 +75,14 @@ chmod 640 /etc/puma/$USER.rb
|
||||||
chown $USER: /etc/puma/$USER.rb
|
chown $USER: /etc/puma/$USER.rb
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
## Reverse proxy
|
||||||
|
|
||||||
|
Nous avons fait écouter Puma sur un socket Unix, maintenant il faut mettre en place un reverse proxy [Nginx](HowtoNginx) ou [Apache](HowtoApache#mod_proxy_http) vers :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
unix:/home/$USER/run/puma.sock
|
||||||
|
~~~
|
||||||
|
|
||||||
## Gestion du service puma
|
## Gestion du service puma
|
||||||
|
|
||||||
**A lancer en mode utilisateur !**
|
**A lancer en mode utilisateur !**
|
||||||
|
|
Loading…
Reference in New Issue