aboutsummaryrefslogtreecommitdiffstats
path: root/community/bareos-webui/nginx-conf.patch
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-08-27 15:11:28 +0300
committerFrancesco Colista <fcolista@alpinelinux.org>2017-08-29 11:21:00 +0000
commit6417f50c04e83cb4e8926585314c7d0fc3090a65 (patch)
tree8502dca0e49b473d01cedbd2d6afe18574e9e2fb /community/bareos-webui/nginx-conf.patch
parent5c03f9f0f78ce6af15ac61aef2fceb12787b9d67 (diff)
downloadaports-6417f50c04e83cb4e8926585314c7d0fc3090a65.tar.bz2
aports-6417f50c04e83cb4e8926585314c7d0fc3090a65.tar.xz
community/bareos-webui: upgrade to 16.2.6, switch to php7
Diffstat (limited to 'community/bareos-webui/nginx-conf.patch')
-rw-r--r--community/bareos-webui/nginx-conf.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/bareos-webui/nginx-conf.patch b/community/bareos-webui/nginx-conf.patch
new file mode 100644
index 0000000000..d0df2d6515
--- /dev/null
+++ b/community/bareos-webui/nginx-conf.patch
@@ -0,0 +1,31 @@
+--- a/install/nginx/bareos-webui.conf
++++ b/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'
+