add alternative port for certbot, change path for spa__app int docker-compose.yml, change Dockerfile

This commit is contained in:
2025-05-27 19:37:12 +03:00
parent 3b60cd6317
commit b1c72b01a4
5 changed files with 13 additions and 3 deletions
-2
View File
@@ -1,5 +1,3 @@
FROM nginx:latest
RUN mkdir -p /var/www/yalarba.ru/html
COPY spa_app/index.html /var/www/yalarba.ru/html
+8
View File
@@ -55,3 +55,11 @@ server {
# fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
# }
}
# HTTP for certbot ssl certificate alterante port
server {
listen ${CERTBOT_PORT}; # альтернативный порт для Certbot
location ~ /.well-known {
allow all;
}
}