Initial commit
Add nginx and certbot configurations
This commit is contained in:
27
nginx/nginx.conf
Normal file
27
nginx/nginx.conf
Normal file
@@ -0,0 +1,27 @@
|
||||
user nginx;
|
||||
worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log notice;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
ssl_session_cache shared:SSL:10m;
|
||||
ssl_session_timeout 10m;
|
||||
server_tokens off;
|
||||
gzip on;
|
||||
proxy_connect_timeout 300;
|
||||
proxy_send_timeout 600;
|
||||
proxy_read_timeout 600;
|
||||
send_timeout 600;
|
||||
client_max_body_size 1100M;
|
||||
|
||||
server {
|
||||
return 404;
|
||||
}
|
||||
|
||||
# <place_for_servers>
|
||||
}
|
||||
Reference in New Issue
Block a user