The following error occurred:
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+diff --git a/install/tpl/nginx_apps.vhost.master b/install/tpl/nginx_apps.vhost.master index 30416e3e3a479e4f2a1c632c62e39a1a7e100bd2..b0bd3a3e2106fff04688601942b3764aa09b2566 100644 --- a/install/tpl/nginx_apps.vhost.master +++ b/install/tpl/nginx_apps.vhost.master @@ -15,11 +15,16 @@ server { } location ~ \.php$ { + try_files $uri =404; + include /etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:{fpm_port}; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_script_name; - include /etc/nginx/fastcgi_params; + fastcgi_buffer_size 128k; + fastcgi_buffers 256 4k; + fastcgi_busy_buffers_size 256k; + fastcgi_temp_file_write_size 256k; } location ~ /\. { diff --git a/install/tpl/nginx_ispconfig.vhost.master b/install/tpl/nginx_ispconfig.vhost.master index 2c9173b1513737af99af4f7051821e5f88a99f35..ffaf7607f5e5d1405c52c89a58482f93fb06972a 100644 --- a/install/tpl/nginx_ispconfig.vhost.master +++ b/install/tpl/nginx_ispconfig.vhost.master @@ -18,11 +18,15 @@ server { location ~ \.php$ { try_files $uri =404; + include /etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:{fpm_port}; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_script_name; - include /etc/nginx/fastcgi_params; + fastcgi_buffer_size 128k; + fastcgi_buffers 256 4k; + fastcgi_busy_buffers_size 256k; + fastcgi_temp_file_write_size 256k; } location ~ /\. { @@ -35,11 +39,11 @@ server { location ~ ^/phpmyadmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; + include /etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:{fpm_port}; {ssl_comment}fastcgi_param HTTPS {fastcgi_ssl}; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; - include /etc/nginx/fastcgi_params; } location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; @@ -55,11 +59,11 @@ server { location ~ ^/squirrelmail/(.+\.php)$ { try_files $uri =404; root /usr/share/; + include /etc/nginx/fastcgi_params; fastcgi_pass 127.0.0.1:{fpm_port}; {ssl_comment}fastcgi_param HTTPS {fastcgi_ssl}; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; - include /etc/nginx/fastcgi_params; } location ~* ^/squirrelmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; diff --git a/server/conf/error/br/502.html b/server/conf/error/br/502.html new file mode 100644 index 0000000000000000000000000000000000000000..62a1b0246927a90bb235107e93c9158f615b67d5 --- /dev/null +++ b/server/conf/error/br/502.html @@ -0,0 +1,61 @@ + + +
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+Dieser Server hat eine ungültige Antwort von einem Upstream-Server erhalten, auf den zugegriffen wurde, um die Anforderung zu erfüllen.
+Sollten Sie diese Fehlermeldung öfter erhalten, wenden Sie sich bitte an den Webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+This server received an invalid response from an upstream server it accessed to fulfill the request.
+If you get this message repeatedly please contact the webmaster.
+