mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Hopefully fix Apache configuration
This commit is contained in:
parent
32ca0c3fe4
commit
f9cbac2c31
2 changed files with 8 additions and 8 deletions
14
dist/apache/arsse.conf
vendored
14
dist/apache/arsse.conf
vendored
|
@ -1,10 +1,10 @@
|
||||||
Define ARSSE_CONF "/etc/arsse/apache/"
|
DocumentRoot "/usr/share/arsse/www"
|
||||||
Define ARSSE_DATA "/usr/share/arsse/"
|
<Directory "/usr/share/arsse/www">
|
||||||
Define ARSSE_PROXY "unix:/var/run/php/arsse.sock|fcgi://localhost${ARSSE_DATA}"
|
Require all granted
|
||||||
|
</Directory>
|
||||||
DocumentRoot "${ARSSE_DATA}www"
|
|
||||||
|
|
||||||
|
Define ARSSE_PROXY "unix:/var/run/php/arsse.sock|fcgi://localhost/usr/share/arsse/"
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "${ARSSE_DATA}arsse.php"
|
ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "/usr/share/arsse/arsse.php"
|
||||||
|
|
||||||
Include "${ARSSE_CONF}arsse-loc.conf"
|
Include "/etc/arsse/apache/arsse-loc.conf"
|
||||||
|
|
|
@ -43,7 +43,7 @@ Finally, services must be restarted to apply the new configurations, and The Ars
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo systemctl restart systemd-sysusers
|
sudo systemctl restart systemd-sysusers
|
||||||
sudo systemctl restart systemd-tmpfiles
|
sudo systemd-tmpfiles --create
|
||||||
sudo systemctl restart php$php_ver-fpm
|
sudo systemctl restart php$php_ver-fpm
|
||||||
sudo systemctl reenable arsse
|
sudo systemctl reenable arsse
|
||||||
sudo systemctl restart arsse
|
sudo systemctl restart arsse
|
||||||
|
|
Loading…
Reference in a new issue