mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
33 lines
958 B
Diff
33 lines
958 B
Diff
Fix default configuration for bareos-webui to work on alpine
|
|
|
|
--- old/webui/install/nginx/bareos-webui.conf
|
|
+++ new/webui/install/nginx/bareos-webui.conf
|
|
@@ -2,7 +2,7 @@
|
|
|
|
listen 9100;
|
|
server_name bareos;
|
|
- root /var/www/bareos-webui/public;
|
|
+ root /usr/share/bareos-webui/public;
|
|
|
|
location / {
|
|
index index.php;
|
|
@@ -11,17 +11,9 @@
|
|
|
|
location ~ .php$ {
|
|
|
|
- include snippets/fastcgi-php.conf;
|
|
+ include fastcgi.conf;
|
|
|
|
- # With php5-cgi alone pass the PHP
|
|
- # scripts to FastCGI server
|
|
- # listening on 127.0.0.1:9000
|
|
-
|
|
- # fastcgi_pass 127.0.0.1:9000;
|
|
-
|
|
- # With php5-fpm:
|
|
-
|
|
- fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
+ fastcgi_pass 127.0.0.1:9000;
|
|
|
|
# Set APPLICATION_ENV to either 'production' or 'development'
|
|
|