-
Notifications
You must be signed in to change notification settings - Fork 0
/
nginx.conf
41 lines (32 loc) · 1.02 KB
/
nginx.conf
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
events {
}
http {
client_max_body_size 20m;
server {
listen 80;
server_name crisisconnect.live www.crisisconnect.live;
return 301 https://crisisconnect.live$request_uri;
}
server {
listen 443 ssl;
server_name www.crisisconnect.live;
access_log /etc/nginx/access_log.log;
error_log /etc/nginx/error_log.log debug;
ssl_certificate /etc/letsencrypt/live/crisisconnect.live/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/crisisconnect.live/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
return 301 https://crisisconnect.live$request_uri;
}
server {
location / {
proxy_pass http://ui:80;
}
listen 443 ssl;
server_name crisisconnect.live;
access_log /etc/nginx/access_log.log;
error_log /etc/nginx/error_log.log debug;
ssl_certificate /etc/letsencrypt/live/crisisconnect.live/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/crisisconnect.live/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
}
}