Skip to content

Commit 8d8db26

Browse files
committed
add resolver in nginx conf
Signed-off-by: Anupam Kumar <[email protected]>
1 parent 402dcd3 commit 8d8db26

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/tests-deploy.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ jobs:
6868
docker exec nextcloud-docker ping -c 1 appapi-harp
6969
docker exec nextcloud-docker ping -c 1 nextcloud
7070
71-
- name: debug session
72-
uses: mxschmitt/action-tmate@v3
73-
7471
- name: Registering and enabling Skeleton ExApp
7572
run: |
7673
docker exec nextcloud-docker sudo -u www-data php occ app_api:app:register app-skeleton-python harp_proxy \
@@ -101,6 +98,8 @@ jobs:
10198
docker logs appapi-harp > harp_bridge_container.log 2>&1
10299
docker inspect nc_app_app-skeleton-python | json_pp > app_harp_bridge_container.json
103100
docker logs nc_app_app-skeleton-python > app_harp_bridge_container.log 2>&1
101+
# nginx
102+
docker logs nextcloud > nginx.log 2>&1
104103
105104
- name: Unregister Skeleton & Daemon
106105
run: |
@@ -147,6 +146,14 @@ jobs:
147146
path: nextcloud.log
148147
if-no-files-found: warn
149148

149+
- name: Upload nginx logs
150+
if: always()
151+
uses: actions/upload-artifact@v4
152+
with:
153+
name: harp_bridge_nginx.log
154+
path: nginx.log
155+
if-no-files-found: warn
156+
150157
# nc-docker-harp-bridge-no-tls:
151158
# runs-on: ubuntu-22.04
152159
# name: NC In Julius Docker (HaRP-Bridge network-no FRP TLS)

tests/simple-nginx-NOT-FOR-PRODUCTION.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#
55
server {
66
listen 80;
7+
resolver 127.0.0.11;
78

89
location / {
910
proxy_set_header Host $host;

0 commit comments

Comments
 (0)