blob: 6ce9e11ad2685fc61597a18f72a250f76e5e137a (
plain)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
|
nginx:
servers:
managed:
repsys.kyriasis.com:
enabled: True
config:
- server:
- server_name: repsys.kyriasis.com
- listen: 80
- listen: '[::]:80'
- include: snippets/security_headers.conf
- location /.well-known/acme-challenge:
- root: /srv/http
- location /:
- return: '301 https://$server_name$request_uri'
- server:
- server_name: repsys.kyriasis.com
- listen: 443 ssl http2
- listen: '[::]:443 ssl http2'
- ssl_certificate: /etc/letsencrypt/live/repsys.kyriasis.com/fullchain.pem
- ssl_certificate_key: /etc/letsencrypt/live/repsys.kyriasis.com/privkey.pem
- ssl_dhparam: /etc/nginx/dhparam.pem
- ssl_stapling: 'on'
- ssl_stapling_verify: 'on'
- ssl_trusted_certificate: /etc/letsencrypt/live/repsys.kyriasis.com/fullchain.pem
- include: snippets/security_headers.conf
# http://www.gnuterrypratchett.com/
- add_header: 'X-Clacks-Overhead "GNU Terry Pratchett"'
- error_log: /var/log/nginx/repsys.kyriasis.com.error.log
- location ~ \.(js|css|png):
- expires: modified +7d
- location /:
- include: uwsgi_params
- uwsgi_pass: localhost:3002
- server:
- server_name: repsys-test.kyriasis.com
- listen: 80
- listen: '[::]:80'
- include: snippets/security_headers.conf
- location /.well-known/acme-challenge:
- root: /srv/http
- location /:
- return: '301 https://$server_name$request_uri'
- server:
- server_name: repsys-test.kyriasis.com
- listen: 443 ssl http2
- listen: '[::]:443 ssl http2'
- ssl_certificate: /etc/letsencrypt/live/repsys-test.kyriasis.com/fullchain.pem
- ssl_certificate_key: /etc/letsencrypt/live/repsys-test.kyriasis.com/privkey.pem
- ssl_dhparam: /etc/nginx/dhparam.pem
- ssl_stapling: 'on'
- ssl_stapling_verify: 'on'
- ssl_trusted_certificate: /etc/letsencrypt/live/repsys-test.kyriasis.com/fullchain.pem
- include: snippets/security_headers.conf
# http://www.gnuterrypratchett.com/
- add_header: 'X-Clacks-Overhead "GNU Terry Pratchett"'
- error_log: /var/log/nginx/repsys-test.kyriasis.com.error.log
- location ~ \.(js|css|png):
- expires: modified +7d
- location /:
- include: uwsgi_params
- uwsgi_pass: localhost:3003
# vim: ft=yaml et:
|