use port 80 to serve 6800 jsonrpc request

This commit is contained in:
2019-07-13 11:33:41 +10:00
parent c8e4704aa7
commit 54faacb741
5 changed files with 13 additions and 3 deletions
+5
View File
@@ -2,6 +2,11 @@
proxy / localhost:8080 {
transparent
}
proxy /jsonrpc localhost:6800 {
transparent
}
log stdout
errors stdout
gzip
+1 -1
View File
@@ -34,6 +34,6 @@ VOLUME /root/conf/key
# User downloaded files
VOLUME /data
EXPOSE 6800 80 443
EXPOSE 80 443
CMD ["/bin/sh", "/root/aria2c.sh" ]
+5
View File
@@ -2,6 +2,11 @@
proxy / localhost:8080 {
transparent
}
proxy /jsonrpc localhost:6800 {
transparent
}
gzip
log stdout
errors stdout
+1 -1
View File
@@ -34,6 +34,6 @@ VOLUME /root/conf/key
# User downloaded files
VOLUME /data
EXPOSE 6800 80 443
EXPOSE 80 443
CMD ["/bin/sh", "/root/aria2c.sh" ]
+1 -1
View File
@@ -34,6 +34,6 @@ VOLUME /root/conf/key
# User downloaded files
VOLUME /data
EXPOSE 6800 80 443
EXPOSE 80 443
CMD ["/bin/sh", "/root/aria2c.sh" ]