Commit 22ab4cb 1 parent b92ba4c commit 22ab4cb Copy full SHA for 22ab4cb
File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:22.04
2
2
WORKDIR /app
3
3
COPY target/release/GitDataOS .
4
+ RUN apt-get update && apt-get install -y ca-certificates git libssl-dev openssl
4
5
RUN chmod +x GitDataOS
5
6
CMD ["/app/GitDataOS" ]
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ metadata:
44
44
namespace : gitdata
45
45
annotations :
46
46
meta.helm.sh/release-name : gitdataweb-api
47
- nginx.ingress.kubernetes.io/rewrite-target : /
48
47
nginx.ingress.kubernetes.io/proxy-connect-timeout : " 30"
49
48
nginx.ingress.kubernetes.io/proxy-read-timeout : " 1800"
50
49
nginx.ingress.kubernetes.io/proxy-send-timeout : " 1800"
Original file line number Diff line number Diff line change 18
18
location / {
19
19
root /usr/share/nginx/html;
20
20
index index.html index.htm;
21
- try_files $uri $uri / /index.html;
21
+ try_files $uri /index.html;
22
+ expires max ;
23
+ add_header Cache-Control "public" ;
22
24
}
23
25
error_page 500 502 503 504 /50x.html;
24
26
location = /50x.html {
You can’t perform that action at this time.
0 commit comments