-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnginx.conf
More file actions
27 lines (18 loc) · 749 Bytes
/
Copy pathnginx.conf
File metadata and controls
27 lines (18 loc) · 749 Bytes
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
server {
server_name coffee-map.*;
root /home/maria/public/udacity-final-project/build/;
location / { }
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/coffee-map.apriorirainbows.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/coffee-map.apriorirainbows.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = coffee-map.apriorirainbows.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name coffee-map.*;
listen 80;
return 404; # managed by Certbot
}