Skip to content

Commit

Permalink
[fix] Fixed HTTP redirect for wireguard-updater
Browse files Browse the repository at this point in the history
Added services.py and utils.py for wireguard-updater
  • Loading branch information
pandafy committed Jun 17, 2022
1 parent 8375c44 commit 77f35ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion images/openwisp_nginx/openwisp.ssl.80.template.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
server {
listen 80;
$NGINX_IP6_80_STRING
server_name $DASHBOARD_DOMAIN $API_DOMAIN;
server_name $DASHBOARD_DOMAIN $API_DOMAIN $WIREGUARD_UPDATER_DOMAIN;

# Necessary for Let's Encrypt domain name ownership validation
location /.well-known/ {
Expand Down
2 changes: 2 additions & 0 deletions images/openwisp_wireguard_updater/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ USER openwisp:root
COPY --chown=openwisp:root ./openwisp_wireguard_updater/uwsgi.conf.ini \
./openwisp_wireguard_updater/vpn_updater.py \
./common/init_command.sh \
./common/services.py \
./common/utils.py \
./common/utils.sh ./

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

0 comments on commit 77f35ae

Please sign in to comment.