1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Merge remote changes and resolve conflicts

This commit is contained in:
MoonTestUse1
2024-12-25 04:08:33 +06:00
parent 0b16c2f0cf
commit c48441219d
2 changed files with 8 additions and 9 deletions

View File

@@ -7,12 +7,9 @@ services:
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro
- certbot-etc:/etc/letsencrypt
- certbot-var:/var/lib/letsencrypt
- webroot:/var/www/html
depends_on:
- backend
@@ -29,8 +26,8 @@ services:
volumes:
- ./backend:/app
- sqlite_data:/app/instance
ports:
- "8000:8000"
expose:
- "8000"
certbot:
image: certbot/certbot
@@ -39,7 +36,9 @@ services:
- certbot-etc:/etc/letsencrypt
- certbot-var:/var/lib/letsencrypt
- webroot:/var/www/html
command: certonly --webroot --webroot-path=/var/www/html --email admin@itformhelp.ru --agree-tos --no-eff-email --force-renewal --staging -d itformhelp.ru -d www.itformhelp.ru
depends_on:
- frontend
command: certonly --webroot --webroot-path=/var/www/html --email admin@itformhelp.ru --agree-tos --no-eff-email --force-renewal -d itformhelp.ru -d www.itformhelp.ru
volumes:
sqlite_data:

View File

@@ -3,12 +3,12 @@ server {
listen [::]:80;
server_name itformhelp.ru www.itformhelp.ru;
root /usr/share/nginx/html;
root /var/www/html;
index index.html;
location ~ /.well-known/acme-challenge {
location ^~ /.well-known/acme-challenge/ {
allow all;
root /var/www/html;
default_type "text/plain";
}
location / {