test
This commit is contained in:
parent
b2e892a6a6
commit
bf323d406e
1
html/index.html
Normal file
1
html/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body><h1>Test Page</h1></body></html>
|
10
nginx.conf
10
nginx.conf
@ -10,7 +10,8 @@ http {
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
root /var/www/html;
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
|
||||
@ -22,11 +23,8 @@ http {
|
||||
ssl_certificate_key /etc/letsencrypt/live/git.evil-bird.ru/privkey.pem;
|
||||
|
||||
location / {
|
||||
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;
|
||||
root /var/www/html;
|
||||
index index.html;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user