add alternative port for certbot, change path for spa__app int docker-compose.yml, change Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user