Merge branch 'main' of dev.discours.io:presence

This commit is contained in:
Untone 2023-10-12 18:15:44 +03:00
commit a31d667675
2 changed files with 0 additions and 10 deletions

View File

@ -32,8 +32,4 @@ COPY --from=build /presence/target/release/presence .
EXPOSE 8080
# Create the directory for Let's Encrypt challenges
RUN mkdir -p /var/www/letsencrypt/.well-known/acme-challenge/ && \
chown -R www-data:www-data /var/www/letsencrypt/
CMD ["./presence"]

View File

@ -46,12 +46,6 @@ server {
# Default location block
# Let's Encrypt ACME Challenge
location ^~ /.well-known/acme-challenge/ {
root /var/www/letsencrypt/;
try_files $uri =404;
}
location / {
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
{{ $proxy_settings }}