summaryrefslogtreecommitdiff
blob: 87976dcb9330698b64c7bba60b77eb1150d26e81 (plain) (blame)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
nginx:
  # Google webmaster tools wants this same filename on all hosts
  google:
    siteKey: googleYOURKEYHERE
    siteKeyServeDir: /srv/web/files/

  # ssl can be "modern" or "tls13" or anything else means default
  ssl: default

  # These configs are directly uploaded as saved config files from files/nginx/<sitename>
  complex:
    - example4.com
    - example5.com

  basic: []
  # These configs are generated by template description below.
  # 'customConfig' is nginx directives placed for your http2 server block.
  #  basic:
  #    - domain: "example.com"
  #      uri:
  #        - path: /
  #
  #    - domain: example2.com
  #      uri:
  #        - path: /
  #          appServer: "http://127.0.0.1:7780"
  #      customConfig: |
  #          keepalive_timeout 5 5;
  #          keepalive_requests 200;
  #
  #          proxy_intercept_errors on;
  #          error_page 502 =503 @noserver;
  #          error_page 503 =503 @noserver;
  #          error_page 504 =503 @noserver;
  #
  #          location @noserver {
  #            root /home/matt/repos/matt-prod/priv;
  #            charset utf-8;
  #            rewrite ^(.*)$ /noserver.txt break;
  #          }
  #
  #          location /src/ {
  #            proxy_pass http://127.0.0.1:7780/$request_uri;
  #            add_header Cache-Control public;
  #            expires +5m;
  #            if ($args) {
  #              expires +1y;
  #            }
  #          }
  #
  #          location /style {
  #            proxy_pass http://127.0.0.1:7780/$request_uri;
  #            add_header Cache-Control public;
  #            expires +5m;
  #            if ($args) {
  #              expires +1y;
  #            }
  #          }
  #
  #          location /js {
  #            proxy_pass http://127.0.0.1:7780/$request_uri;
  #            add_header Cache-Control public;
  #            expires +5m;
  #            if ($args) {
  #              expires +1y;
  #            }
  #          }
  #
  #          location /favicon.ico {
  #            empty_gif;
  #          }
  #
  #          location /files {
  #            expires max;
  #            root /srv/web/matt.sh;
  #          }
Powered by cgit v1.2.3 (git 2.41.0)