initial commit

This commit is contained in:
2025-08-08 12:25:26 +02:00
commit b146b71d61
37 changed files with 423 additions and 0 deletions

33
custom-errors.conf Normal file
View File

@@ -0,0 +1,33 @@
error_page 400 /custom_400.html;
location = /custom_400.html { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_400.png { root /etc/nginx/nginxsnippets/errorpages; }
error_page 401 /custom_401.html;
location = /custom_401.html { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_401.png { root /etc/nginx/nginxsnippets/errorpages; }
error_page 403 /custom_403.html;
location = /custom_403.html { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_403.png { root /etc/nginx/nginxsnippets/errorpages; }
error_page 404 /custom_404.html;
location = /custom_404.html { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_404.png { root /etc/nginx/nginxsnippets/errorpages; }
error_page 500 /custom_500.html;
location = /custom_500.html { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_500.png { root /etc/nginx/nginxsnippets/errorpages; }
error_page 502 /custom_502.html;
location = /custom_502.html { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_502.png { root /etc/nginx/nginxsnippets/errorpages; }
error_page 503 /custom_503.html;
location = /custom_503.html { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_503.png { root /etc/nginx/nginxsnippets/errorpages; }
error_page 504 /custom_504.html;
location = /custom_504.html { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_504.png { root /etc/nginx/nginxsnippets/errorpages; }
location = /custom_error.css { root /etc/nginx/nginxsnippets/errorpages; }