Compare commits
No commits in common. "16f98386acb7e12f0b450b5b626ab9fc6dd79cd0" and "7adf8f3daf3e709f7c311436b77410384382a924" have entirely different histories.
16f98386ac
...
7adf8f3daf
@ -1,30 +0,0 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
10
nginx.conf
10
nginx.conf
@ -10,8 +10,7 @@ http {
|
||||
}
|
||||
|
||||
location / {
|
||||
root /var/www/html;
|
||||
index index.html;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,8 +22,11 @@ http {
|
||||
ssl_certificate_key /etc/letsencrypt/live/git.evil-bird.ru/privkey.pem;
|
||||
|
||||
location / {
|
||||
root /var/www/html;
|
||||
index index.html;
|
||||
proxy_pass http://10.10.1.10:3000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user