_
This commit is contained in:
13
nginx.conf
13
nginx.conf
@@ -4,12 +4,19 @@ http {
|
||||
server {
|
||||
listen 80;
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /usr/share/nginx/html/;
|
||||
}
|
||||
|
||||
proxy_pass http://certbot:80;
|
||||
}
|
||||
# location / {
|
||||
# return 301 https://$server_name:443$request_uri;
|
||||
# }
|
||||
}
|
||||
|
||||
# server {
|
||||
# listen 443;
|
||||
# server_name hypoxie.duckdns.org;
|
||||
|
||||
# return 301 https://adoptapet.ru/cats/;
|
||||
# }
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
|
||||
Reference in New Issue
Block a user