Skip to content

Commit

Permalink
change WSATH and html dir
Browse files Browse the repository at this point in the history
  • Loading branch information
cylind committed Oct 31, 2023
1 parent c0d5122 commit 40282ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM nginx:alpine-slim

COPY hls.js /var/www/hls.js
COPY ssserver /usr/local/bin
COPY ws-plugin /usr/local/bin
COPY hls.js /var/www/html
COPY ssserver /usr/local/bin
COPY ws-plugin /usr/local/bin
COPY entrypoint.sh /opt/entrypoint.sh

ENV PORT=3000
ENV WSPATH=/play
ENV WSPATH=/ws-ss-v2
ENV PASSWORD=PHKPixmEq6oAeQX5
ENV ENCRYPT_METHOD=chacha20-ietf-poly1305

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ server {
listen [::]:${PORT} default_server;
access_log off;
location / {
root /var/www/hls.js;
root /var/www/html;
index index.html;
}
location ${WSPATH} {
Expand Down

0 comments on commit 40282ca

Please sign in to comment.