comparison host/startup/nginx/nginx.conf.luan @ 1632:0344a535b1db

add doc
author fffilimonov
date Tue, 14 Dec 2021 07:41:01 +0000
parents
children 32c6b085bb83
comparison
equal deleted inserted replaced
1631:35c626c06dd5 1632:0344a535b1db
1 local rootDir, user, group = ...
2
3 %>
4 worker_processes 4;
5 user <%=user%> <%=group%>;
6
7 events {
8 worker_connections 4096;
9 }
10
11 http {
12 include mime.types;
13 default_type application/octet-stream;
14 sendfile on;
15 keepalive_timeout 65;
16
17 proxy_cache_path <%=rootDir%>/local/nginx_cache levels=1:2 keys_zone=nginx_cache:60m max_size=10g inactive=60m use_temp_path=off;
18
19 upstream luan {
20 server 127.0.0.1:8080;
21 }
22
23 server {
24 listen 80 default_server;
25 include nginx.default.conf;
26 }
27
28 include <%=rootDir%>/sites/*/nginx.ssl.conf;
29 }
30 <%