- Changed FastCGI buffers for ISPConfig nginx vhost because otherwise you get "upstream sent too big header while reading response header from upstream" on OpenSUSE.
- Added 502 error page ("Bad Gateway").
- Added "fastcgi_intercept_errors on;" to nginx vhost template so that ISPConfig's error pages are displayed instead of the default nginx ones.
15 files added
5 files modified
| | |
| | | } |
| | | |
| | | 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 ~ /\. { |
| | |
| | | |
| | | 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 ~ /\. { |
| | |
| | | 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/; |
| | |
| | | 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/; |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>FEHLER 502 - Fehlerhaftes Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>FEHLER 502 - Fehlerhaftes Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>Folgender Fehler ist aufgetreten:</h2> |
| | | <p>Dieser Server hat eine ungültige Antwort von einem Upstream-Server erhalten, auf den zugegriffen wurde, um die Anforderung zu erfüllen. </p> |
| | | <P>Sollten Sie diese Fehlermeldung öfter erhalten, wenden Sie sich bitte an den <!--WEBMASTER//-->Webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
New file |
| | |
| | | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| | | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| | | <head> |
| | | <title>ERROR 502 - Bad Gateway!</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <meta name="robots" content="noindex" /> |
| | | <style type="text/css"><!-- |
| | | body { |
| | | color: #444444; |
| | | background-color: #EEEEEE; |
| | | font-family: 'Trebuchet MS', sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | h1 {} |
| | | h2 { font-size: 1.2em; } |
| | | #page{ |
| | | background-color: #FFFFFF; |
| | | width: 60%; |
| | | margin: 24px auto; |
| | | padding: 12px; |
| | | } |
| | | #header { |
| | | padding: 6px ; |
| | | text-align: center; |
| | | } |
| | | .status3xx { background-color: #475076; color: #FFFFFF; } |
| | | .status4xx { background-color: #C55042; color: #FFFFFF; } |
| | | .status5xx { background-color: #F2E81A; color: #000000; } |
| | | #content { |
| | | padding: 4px 0 24px 0; |
| | | } |
| | | #footer { |
| | | color: #666666; |
| | | background: #f9f9f9; |
| | | padding: 10px 20px; |
| | | border-top: 5px #efefef solid; |
| | | font-size: 0.8em; |
| | | text-align: center; |
| | | } |
| | | #footer a { |
| | | color: #999999; |
| | | } |
| | | --></style> |
| | | </head> |
| | | <body> |
| | | <div id="page"> |
| | | <div id="header" class="status5xx"> |
| | | <h1>ERROR 502 - Bad Gateway!</h1> |
| | | </div> |
| | | <div id="content"> |
| | | <h2>The following error occurred:</h2> |
| | | <p>This server received an invalid response from an upstream server it accessed to fulfill the request.</p> |
| | | <P>If you get this message repeatedly please contact the <!--WEBMASTER//-->webmaster<!--WEBMASTER//-->.</p> |
| | | </div> |
| | | <div id="footer"> |
| | | <p>Powered by <a href="http://www.ispconfig.org">ISPConfig</a></p> |
| | | </div> |
| | | </div> |
| | | </body> |
| | | </html> |
| | |
| | | } |
| | | |
| | | 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 ~ /\. { |
| | |
| | | error_page 404 /error/404.html; |
| | | error_page 405 /error/405.html; |
| | | error_page 500 /error/500.html; |
| | | error_page 502 /error/502.html; |
| | | error_page 503 /error/503.html; |
| | | </tmpl_if> |
| | | |
| | |
| | | <tmpl_if name='php' op='==' value='fast-cgi'> |
| | | location ~ \.php$ { |
| | | try_files $uri =404; |
| | | include /etc/nginx/fastcgi_params; |
| | | <tmpl_if name='use_tcp'> |
| | | fastcgi_pass 127.0.0.1:<tmpl_var name='fpm_port'>; |
| | | </tmpl_if> |
| | |
| | | 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_intercept_errors on; |
| | | } |
| | | </tmpl_else> |
| | | location ~ \.php$ { |
| | |
| | | <tmpl_if name='cgi' op='==' value='y'> |
| | | location /cgi-bin/ { |
| | | try_files $uri =404; |
| | | include /etc/nginx/fastcgi_params; |
| | | root <tmpl_var name='document_root'>; |
| | | gzip off; |
| | | fastcgi_pass unix:/var/run/fcgiwrap.socket; |
| | | fastcgi_index index.cgi; |
| | | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; |
| | | include /etc/nginx/fastcgi_params; |
| | | fastcgi_intercept_errors on; |
| | | } |
| | | </tmpl_if> |
| | | |
| | |
| | | ErrorDocument 404 /error/404.html |
| | | ErrorDocument 405 /error/405.html |
| | | ErrorDocument 500 /error/500.html |
| | | ErrorDocument 502 /error/502.html |
| | | ErrorDocument 503 /error/503.html |
| | | </tmpl_if> |
| | | |