-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
54 lines (42 loc) · 1.1 KB
/
nginx.conf
File metadata and controls
54 lines (42 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
events {
worker_connections 1024;
}
http {
proxy_read_timeout 10m;
proxy_connect_timeout 100s;
proxy_send_timeout 100s;
client_max_body_size 1024M;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
# ssl_certificate /etc/nginx/certs/live/papper.tech/fullchain.pem;
# ssl_certificate_key /etc/nginx/certs/live/papper.tech/privkey.pem;
proxy_buffering on;
proxy_buffer_size 8k;
proxy_buffers 2048 8k;
proxy_busy_buffers_size 16k;
keepalive_timeout 70;
# ssl_session_cache shared:SSL:10m;
# ssl_session_timeout 10m;
include mime.types;
gzip on;
gzip_types *;
gzip_comp_level 5;
gzip_min_length 256;
# server {
# listen 80;
# server_name pomelk1n-dev.su;
# return 301 https://$host$request_uri;
# }
server {
# listen 443 ssl;
listen 80;
server_name pomelk1n-dev.su;
root /etc/nginx/www;
location / {
try_files $uri /index.html =404;
}
}
}