--- 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/ 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; # }