2
0

Initial commit - forked from the corresponding Smartfront repositories.

This commit is contained in:
2023-09-11 18:01:37 +02:00
commit 7803630c76
53 changed files with 12259 additions and 0 deletions

5
.templates/nginx/.nginx/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
# Ignore everything else in this directory.
*
!.gitignore
!_default.conf
!_general.conf

View File

@ -0,0 +1,14 @@
# A restrictive default virtualhost configuration.
server {
listen 80 default_server;
server_name _;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
location / {
default_type text/html;
return 404 "<span style='font-size: large'>$hostname</span>";
}
}

View File

@ -0,0 +1,14 @@
# NGINX general configuration for Docker services.
# Doesn't explore unnecessary info.
server_tokens off;
# Depends on ngx_http_security_headers_module.so
#hide_server_tokens on;
# https://amalgjose.com/2020/05/15/how-to-set-the-allowed-url-length-for-a-nginx-request-error-code-414-uri-too-large/
large_client_header_buffers 4 32k;
# https://serverfault.com/questions/602201/nginx-possible-bug-with-dashes-in-server-name
# https://trac.nginx.org/nginx/ticket/571
#server_names_hash_bucket_size 64;