mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
certbot fix
This commit is contained in:
@@ -27,6 +27,10 @@ server {
|
||||
|
||||
server_name ${DOMAIN_NAME} www.${DOMAIN_NAME};
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location /static {
|
||||
proxy_pass http://frontend:3000;
|
||||
access_log off;
|
||||
@@ -63,6 +67,10 @@ server {
|
||||
|
||||
server_name api.${DOMAIN_NAME};
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location /marcsip/upload {
|
||||
deny all;
|
||||
}
|
||||
@@ -100,6 +108,10 @@ server {
|
||||
|
||||
server_name account.${DOMAIN_NAME};
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://account:3009;
|
||||
proxy_http_version 1.1;
|
||||
@@ -127,6 +139,10 @@ server {
|
||||
|
||||
server_name admin.${DOMAIN_NAME};
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://admin:3008;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user