30 lines
622 B
Plaintext
30 lines
622 B
Plaintext
events {}
|
|
|
|
http {
|
|
server {
|
|
listen 80;
|
|
server_name git.evil-bird.ru;
|
|
|
|
location /.well-known/acme-challenge/ {
|
|
root /var/www/html;
|
|
}
|
|
|
|
location / {
|
|
root /var/www/html;
|
|
index index.html;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443; # ssl;
|
|
server_name git.evil-bird.ru;
|
|
|
|
# ssl_certificate /etc/letsencrypt/live/git.evil-bird.ru/fullchain.pem;
|
|
# ssl_certificate_key /etc/letsencrypt/live/git.evil-bird.ru/privkey.pem;
|
|
|
|
location / {
|
|
root /var/www/html;
|
|
index index.html;
|
|
}
|
|
}
|
|
} |