mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Update sample configuration for Smart HTTP
Using uWSGI for the Smart HTTP protocol caused some issues, see e.g. FS#45428. Suggest using fcgiwrap instead which is more lightweight, has better documentation and is easier to debug. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
552a297a49
commit
c89bf51af2
3 changed files with 32 additions and 17 deletions
11
conf/fcgiwrap.service.proto
Normal file
11
conf/fcgiwrap.service.proto
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Simple CGI Server
|
||||
After=nss-user-lookup.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/fcgiwrap
|
||||
User=aur
|
||||
Group=aur
|
||||
|
||||
[Install]
|
||||
Also=fcgiwrap.socket
|
11
conf/fcgiwrap.socket.proto
Normal file
11
conf/fcgiwrap.socket.proto
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=fcgiwrap Socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=/run/fcgiwrap.sock
|
||||
SocketUser=http
|
||||
SocketGroup=http
|
||||
SocketMode=0700
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
Loading…
Add table
Add a link
Reference in a new issue