Skip to content

Commit 1616973

Browse files
committed
bump selkies restore dev mode
1 parent 1cd4561 commit 1616973

3 files changed

Lines changed: 34 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN \
1515
https://github.com/selkies-project/selkies.git \
1616
/src && \
1717
cd /src && \
18-
git checkout -f 799f1af8d381482502ebbd4c9b40606cfb333004
18+
git checkout -f 7d7b28c83ae46ac79f42c90e052d6dbe7b147e2f
1919

2020
RUN \
2121
echo "**** build frontend ****" && \
@@ -185,7 +185,7 @@ RUN \
185185
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
186186
curl -o \
187187
/tmp/selkies.tar.gz -L \
188-
"https://github.com/selkies-project/selkies/archive/799f1af8d381482502ebbd4c9b40606cfb333004.tar.gz" && \
188+
"https://github.com/selkies-project/selkies/archive/7d7b28c83ae46ac79f42c90e052d6dbe7b147e2f.tar.gz" && \
189189
cd /tmp && \
190190
tar xf selkies.tar.gz && \
191191
cd selkies-* && \

Dockerfile.aarch64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN \
1515
https://github.com/selkies-project/selkies.git \
1616
/src && \
1717
cd /src && \
18-
git checkout -f 799f1af8d381482502ebbd4c9b40606cfb333004
18+
git checkout -f 7d7b28c83ae46ac79f42c90e052d6dbe7b147e2f
1919

2020
RUN \
2121
echo "**** build frontend ****" && \
@@ -183,7 +183,7 @@ RUN \
183183
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
184184
curl -o \
185185
/tmp/selkies.tar.gz -L \
186-
"https://github.com/selkies-project/selkies/archive/799f1af8d381482502ebbd4c9b40606cfb333004.tar.gz" && \
186+
"https://github.com/selkies-project/selkies/archive/7d7b28c83ae46ac79f42c90e052d6dbe7b147e2f.tar.gz" && \
187187
cd /tmp && \
188188
tar xf selkies.tar.gz && \
189189
cd selkies-* && \

root/defaults/default.conf

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ server {
88
index index.html index.htm;
99
try_files $uri $uri/ =404;
1010
}
11+
location /devmode {
12+
proxy_set_header Upgrade $http_upgrade;
13+
proxy_set_header Connection "upgrade";
14+
proxy_set_header Host $host;
15+
proxy_set_header X-Real-IP $remote_addr;
16+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
17+
proxy_set_header X-Forwarded-Proto $scheme;
18+
proxy_http_version 1.1;
19+
proxy_read_timeout 3600s;
20+
proxy_send_timeout 3600s;
21+
proxy_connect_timeout 3600s;
22+
proxy_buffering off;
23+
client_max_body_size 10M;
24+
proxy_pass http://127.0.0.1:5173;
25+
}
1126
location SUBFOLDERwebsocket {
1227
proxy_set_header Upgrade $http_upgrade;
1328
proxy_set_header Connection "upgrade";
@@ -47,6 +62,21 @@ server {
4762
index index.html index.htm;
4863
try_files $uri $uri/ =404;
4964
}
65+
location /devmode {
66+
proxy_set_header Upgrade $http_upgrade;
67+
proxy_set_header Connection "upgrade";
68+
proxy_set_header Host $host;
69+
proxy_set_header X-Real-IP $remote_addr;
70+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
71+
proxy_set_header X-Forwarded-Proto $scheme;
72+
proxy_http_version 1.1;
73+
proxy_read_timeout 3600s;
74+
proxy_send_timeout 3600s;
75+
proxy_connect_timeout 3600s;
76+
proxy_buffering off;
77+
client_max_body_size 10M;
78+
proxy_pass http://127.0.0.1:5173;
79+
}
5080
location SUBFOLDERwebsocket {
5181
proxy_set_header Upgrade $http_upgrade;
5282
proxy_set_header Connection "upgrade";

0 commit comments

Comments
 (0)