mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
Fixed compliancy with AGPL 3.0 (Fixes #12641) Fixed permissions in bareos dirs Fixed nginx configuration - needs php($ver)-fpm and client_max_body_size >1MB Fixed apache2 configuration - bareos needs mod_rewrite
34 lines
1 KiB
Diff
34 lines
1 KiB
Diff
diff --git a/webui/install/nginx/bareos-webui.conf b/webui/install/nginx/bareos-webui.conf
|
|
index 96d249e..9d629d0 100644
|
|
--- a/webui/install/nginx/bareos-webui.conf
|
|
+++ b/webui/install/nginx/bareos-webui.conf
|
|
@@ -2,7 +2,8 @@ server {
|
|
|
|
listen 9100;
|
|
server_name bareos;
|
|
- root /var/www/bareos-webui/public;
|
|
+ root /usr/share/bareos-webui/public;
|
|
+ client_max_body_size 20M;
|
|
|
|
location / {
|
|
index index.php;
|
|
@@ -11,17 +12,9 @@ server {
|
|
|
|
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'
|
|
|