This commit is contained in:
parent
f86a7f9531
commit
e8670c1ebe
@ -17,7 +17,8 @@ jobs:
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
script: |
|
||||
# Переходим в директорию проекта
|
||||
cd ~/fastapi-app
|
||||
|
||||
cd ~/web/sybiko_website
|
||||
|
||||
# Получаем последние изменения из git
|
||||
git pull origin main
|
||||
|
||||
56
nginx.conf
56
nginx.conf
@ -1,56 +0,0 @@
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
server_name sybiko.ru www.sybiko.ru;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name sybiko.ru www.sybiko.ru;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/sybiko.ru/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/sybiko.ru/privkey.pem;
|
||||
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://web:8000;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# events {
|
||||
# worker_connections 1024;
|
||||
# }
|
||||
|
||||
# http {
|
||||
# server {
|
||||
# listen 80;
|
||||
# server_name localhost;
|
||||
|
||||
# location / {
|
||||
# proxy_pass http://web:8000;
|
||||
# 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;
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
@ -56,7 +56,7 @@
|
||||
<main>
|
||||
<section id="hero" class="container mx-auto px-4 py-20">
|
||||
<h1 class="text-6xl font-bold mb-8">
|
||||
Мы создаем IT-решения для бизнеса.
|
||||
Мы создаем IT-решения для бизнеса
|
||||
</h1>
|
||||
<p class="text-xl mb-8 max-w-2xl">
|
||||
SYBIKO - команда профессионалов с опытом разработки передовых технологических решений для оптимизации бизнес-процессов.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user