Merge branch 'main' of dev.discours.io:presence
This commit is contained in:
commit
a31d667675
|
@ -32,8 +32,4 @@ COPY --from=build /presence/target/release/presence .
|
||||||
|
|
||||||
EXPOSE 8080
|
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"]
|
CMD ["./presence"]
|
||||||
|
|
|
@ -46,12 +46,6 @@ server {
|
||||||
|
|
||||||
# Default location block
|
# Default location block
|
||||||
|
|
||||||
# Let's Encrypt ACME Challenge
|
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
|
||||||
root /var/www/letsencrypt/;
|
|
||||||
try_files $uri =404;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
|
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
|
||||||
{{ $proxy_settings }}
|
{{ $proxy_settings }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user