Skip to content

Commit 77f35ae

Browse files
committed
[fix] Fixed HTTP redirect for wireguard-updater
Added services.py and utils.py for wireguard-updater
1 parent 8375c44 commit 77f35ae

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

images/openwisp_nginx/openwisp.ssl.80.template.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
server {
44
listen 80;
55
$NGINX_IP6_80_STRING
6-
server_name $DASHBOARD_DOMAIN $API_DOMAIN;
6+
server_name $DASHBOARD_DOMAIN $API_DOMAIN $WIREGUARD_UPDATER_DOMAIN;
77

88
# Necessary for Let's Encrypt domain name ownership validation
99
location /.well-known/ {

images/openwisp_wireguard_updater/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ USER openwisp:root
2525
COPY --chown=openwisp:root ./openwisp_wireguard_updater/uwsgi.conf.ini \
2626
./openwisp_wireguard_updater/vpn_updater.py \
2727
./common/init_command.sh \
28+
./common/services.py \
29+
./common/utils.py \
2830
./common/utils.sh ./
2931

3032
COPY --from=SYSTEM --chown=openwisp:root /usr/local/bin/uwsgi /usr/local/bin/uwsgi

0 commit comments

Comments
 (0)