22
0
Fork 0

Config webserver

This commit is contained in:
vlaborie 2017-07-04 18:49:18 +02:00
parent 4a37050ea4
commit 85a94ae5f9
1 changed files with 8 additions and 0 deletions

View File

@ -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 !**