_
This commit is contained in:
11
nginx.conf
11
nginx.conf
@@ -4,12 +4,19 @@ http {
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
location /.well-known/acme-challenge/ {
|
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 {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
|
|||||||
Reference in New Issue
Block a user