Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions DockerFileSSH
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ RUN mkdir -p /var/cache/nginx && chown -R nginx:nginx /var/cache/nginx && \
chown -R nginx:nginx /etc/nginx && \
chmod -R 777 /etc/nginx/conf.d && \
sed -i 's/user nginx;/#user nginx;/g' /etc/nginx/nginx.conf
RUN sed -i 's/listen 80;/listen 8080;/g' /etc/nginx/conf.d/default.conf
RUN sed -i 's/listen [::]:80;/listen [::]:8080;/g' /etc/nginx/conf.d/default.conf


USER nginx

Expand Down
2 changes: 1 addition & 1 deletion auth/gitee.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func verifyUserDownload(giteeUser *giteeUser, userInRepo UserInRepo) error {

func VerifySSHAuthToken(auth string, userInRepo UserInRepo) error {
batchCheckRequest := batch.Request{
Operation: "upload",
Operation: userInRepo.Operation,
Transfers: []string{
"lfs-standalone-file",
"basic",
Expand Down