diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..c9b76f1 --- /dev/null +++ b/html/index.html @@ -0,0 +1 @@ +

Test Page

diff --git a/nginx.conf b/nginx.conf index 90a5bdb..40e5e0b 100644 --- a/nginx.conf +++ b/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; } } } \ No newline at end of file