stagging conf
This commit is contained in:
parent
9757c410e3
commit
16f98386ac
30
html/stagged_nginx.conf
Normal file
30
html/stagged_nginx.conf
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user